Skip to content

Commit e269f16

Browse files
Merge pull request #32 from FrameworkComputer/remove-ssh-key
2 parents ac7a2be + 1595ed2 commit e269f16

File tree

7 files changed

+10
-32
lines changed

7 files changed

+10
-32
lines changed

.github/workflows/firmware.yml

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,6 @@ jobs:
3030
runs-on: [ubuntu-latest] #${{ matrix.os }}
3131
steps:
3232
- uses: actions/checkout@v3
33-
- uses: webfactory/[email protected]
34-
with:
35-
ssh-private-key: |
36-
${{ secrets.PRIVKEY_ST7306 }}
3733
- uses: dtolnay/rust-toolchain@master
3834
with:
3935
toolchain: ${{ matrix.rust }}
@@ -69,10 +65,6 @@ jobs:
6965
- uses: actions/checkout@v3
7066
with:
7167
submodules: true
72-
- uses: webfactory/[email protected]
73-
with:
74-
ssh-private-key: |
75-
${{ secrets.PRIVKEY_ST7306 }}
7668
- uses: dtolnay/rust-toolchain@stable
7769
with:
7870
components: clippy

.github/workflows/software.yml

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -35,11 +35,6 @@ jobs:
3535
steps:
3636
- uses: actions/checkout@v3
3737

38-
- uses: webfactory/[email protected]
39-
with:
40-
ssh-private-key: |
41-
${{ secrets.PRIVKEY_ST7306 }}
42-
4338
- name: Install dependencies
4439
run: |
4540
sudo apt-get update
@@ -66,11 +61,6 @@ jobs:
6661
steps:
6762
- uses: actions/checkout@v3
6863

69-
- uses: webfactory/[email protected]
70-
with:
71-
ssh-private-key: |
72-
${{ secrets.PRIVKEY_ST7306 }}
73-
7464
- name: Setup Rust toolchain
7565
run: rustup show
7666

@@ -92,11 +82,6 @@ jobs:
9282
steps:
9383
- uses: actions/checkout@v3
9484

95-
- uses: webfactory/[email protected]
96-
with:
97-
ssh-private-key: |
98-
${{ secrets.PRIVKEY_ST7306 }}
99-
10085
- name: Install dependencies
10186
run: |
10287
sudo apt-get update

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)