mirror of
https://github.com/mist-devel/mist-firmware.git
synced 2026-05-03 06:49:36 +00:00
Disable LEDs on initialization
This commit is contained in:
@@ -143,6 +143,10 @@ void max3421e_init() {
|
||||
|
||||
// enable interrupts
|
||||
max3421e_write_u08( MAX3421E_CPUCTL, MAX3421E_IE );
|
||||
|
||||
// switch off leds
|
||||
max3421e_write_u08(MAX3421E_IOPINS2, 0xff);
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user