Skip to content

Commit 1595ed2

Browse files
committed
Use newly published st7306 library
Signed-off-by: Daniel Schaefer <[email protected]>
1 parent 5637ebd commit 1595ed2

File tree

5 files changed

+10
-9
lines changed

5 files changed

+10
-9
lines changed

Cargo.lock

Lines changed: 5 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

b1display/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ usbd-serial = "0.1.1"
2626
usbd-hid = "0.5.1"
2727
fugit = "0.3.6"
2828

29-
st7306-lcd = { git = "ssh://[email protected]/FrameworkComputer/st7306.git" }
29+
st7306 = "0.8.2"
3030
embedded-graphics = "0.7"
3131
tinybmp = "0.4.0"
3232

b1display/src/main.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ use embedded_graphics::pixelcolor::Rgb565;
1818
use embedded_graphics::prelude::*;
1919
use embedded_graphics::primitives::*;
2020
use embedded_hal::blocking::spi;
21-
use st7306_lcd::{FpsConfig, HpmFps, LpmFps, PowerMode, ST7306};
21+
use st7306::{FpsConfig, HpmFps, LpmFps, PowerMode, ST7306};
2222

2323
// Provide an alias for our BSP so we can switch targets quickly.
2424
// Uncomment the BSP you included in Cargo.toml, the rest of the code does not need to change.

fl16-inputmodules/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ num-traits = { version = "0.2", default-features = false }
3333
is31fl3741 = { git = "https://github.com/JohnAZoidberg/is31fl3741", branch = "all-at-once", optional = true }
3434

3535
# B1 Display
36-
st7306-lcd = { git = "ssh://[email protected]/FrameworkComputer/st7306.git", optional = true }
36+
st7306 = { version = "0.8.2", optional = true }
3737
embedded-graphics = { version = "0.7", optional = true }
3838
tinybmp = { version = "0.4.0", optional = true }
3939

@@ -44,5 +44,5 @@ ws2812-pio = { version = "0.5.0", optional = true }
4444
[features]
4545
default = []
4646
ledmatrix = [ "is31fl3741" ]
47-
b1display = [ "st7306-lcd", "embedded-graphics", "tinybmp" ]
47+
b1display = [ "st7306", "embedded-graphics", "tinybmp" ]
4848
c1minimal = ["smart-leds", "ws2812-pio" ]

fl16-inputmodules/src/control.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ use embedded_hal::digital::v2::OutputPin;
2222
#[cfg(feature = "b1display")]
2323
use heapless::String;
2424
#[cfg(feature = "b1display")]
25-
use st7306_lcd::ST7306;
25+
use st7306::ST7306;
2626

2727
#[cfg(feature = "ledmatrix")]
2828
use crate::games::pong;

0 commit comments

Comments
 (0)