mirror of
https://github.com/polhenarejos/pico-keys-sdk
synced 2026-06-18 04:17:09 +02:00
Go back 1 second wait
Signed-off-by: Pol Henarejos <pol.henarejos@cttc.es>
This commit is contained in:
@@ -323,7 +323,7 @@ int main(void) {
|
|||||||
neug_task();
|
neug_task();
|
||||||
do_flash();
|
do_flash();
|
||||||
#ifndef ENABLE_EMULATION
|
#ifndef ENABLE_EMULATION
|
||||||
if (board_millis() > 5000 && !is_busy()) { // wait 5 second to boot up
|
if (board_millis() > 1000 && !is_busy()) { // wait 1 second to boot up
|
||||||
bool current_button_state = board_button_read();
|
bool current_button_state = board_button_read();
|
||||||
if (current_button_state != button_pressed_state) {
|
if (current_button_state != button_pressed_state) {
|
||||||
if (current_button_state == false) { // unpressed
|
if (current_button_state == false) { // unpressed
|
||||||
|
|||||||
Reference in New Issue
Block a user