Skip to content

Commit 8dc7927

Browse files
committed
chore(firmware): reassign pins for easier board layout
1 parent 8cf18b2 commit 8dc7927

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

firmware/src/bin/main.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,8 @@ async fn main(spawner: Spawner) {
4949
let shared_bus = spi_bus::make_shared_spi(
5050
peripherals.SPI2.into(),
5151
peripherals.DMA_CH1.degrade(),
52-
peripherals.GPIO7.into(),
5352
peripherals.GPIO6.into(),
53+
peripherals.GPIO7.into(),
5454
peripherals.GPIO5.into(),
5555
);
5656
let sd = Sd::new(shared_bus, peripherals.GPIO10.into()).await;

firmware/src/charger.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ pub struct Charger {
2020

2121
impl Charger {
2222
pub fn new(pin: AnyPin<'static>) -> Self {
23-
let pin = Input::new(pin, InputConfig::default().with_pull(Pull::Up));
23+
let pin = Input::new(pin, InputConfig::default());
2424

2525
// Set initial state
2626
let initial_state = Self::current_state(&pin);

0 commit comments

Comments
 (0)