mirror of
https://github.com/whowechina/aic_pico.git
synced 2026-10-11 08:38:10 +03:00
Pico led off
This commit is contained in:
Binary file not shown.
@@ -327,6 +327,12 @@ static void find_nfc_module()
|
||||
}
|
||||
}
|
||||
|
||||
static void pico_led_off()
|
||||
{
|
||||
gpio_init(25);
|
||||
gpio_set_dir(25, GPIO_IN);
|
||||
}
|
||||
|
||||
void init()
|
||||
{
|
||||
tusb_init();
|
||||
@@ -346,6 +352,8 @@ void init()
|
||||
keypad_init();
|
||||
}
|
||||
|
||||
pico_led_off();
|
||||
|
||||
spi_overclock();
|
||||
|
||||
find_nfc_module();
|
||||
|
||||
Reference in New Issue
Block a user