File tree Expand file tree Collapse file tree 2 files changed +1
-17
lines changed
Expand file tree Collapse file tree 2 files changed +1
-17
lines changed Original file line number Diff line number Diff line change @@ -41,22 +41,6 @@ pc-keyboard = "0.6"
4141# Useful queues and other structures
4242heapless = " 0.7"
4343
44- [features ]
45- default = [
46- " defmt-default" ,
47- ]
48- defmt-default = []
49- # Enables trace logs
50- defmt-trace = []
51- # Enables debug logs
52- defmt-debug = []
53- # Enables info logs
54- defmt-info = []
55- # Enables warn logs
56- defmt-warn = []
57- # Enables error logs
58- defmt-error = []
59-
6044[[bin ]]
6145name = " neotron-pico-bios"
6246test = false
Original file line number Diff line number Diff line change @@ -623,7 +623,7 @@ impl Hardware {
623623 /// These are connected to the bit 4 of GPIOA on the MCP23S17.
624624 fn set_hdd_led ( & mut self , enabled : bool ) {
625625 // LEDs are active-low.
626- self . debug_leds = ( self . debug_leds & 0x17 ) | u8 :: from ( enabled) ;
626+ self . debug_leds = ( self . debug_leds & 0x1e ) | if enabled { 0 } else { 1 } ;
627627 self . io_chip_write ( 0x12 , self . debug_leds << 3 | self . last_cs ) ;
628628 }
629629
You can’t perform that action at this time.
0 commit comments