File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff 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 ;
Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ pub struct Charger {
2020
2121impl 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) ;
You can’t perform that action at this time.
0 commit comments