mirror of
https://github.com/polhenarejos/pico-keys-sdk
synced 2026-06-10 11:59:05 +02:00
@@ -203,9 +203,9 @@ bool wait_button() {
|
|||||||
uint32_t button_timeout = 0;
|
uint32_t button_timeout = 0;
|
||||||
if (phy_data.up_btn_present) {
|
if (phy_data.up_btn_present) {
|
||||||
button_timeout = phy_data.up_btn * 1000;
|
button_timeout = phy_data.up_btn * 1000;
|
||||||
if (button_timeout == 0) {
|
}
|
||||||
return false;
|
if (button_timeout == 0) {
|
||||||
}
|
return false;
|
||||||
}
|
}
|
||||||
uint32_t start_button = board_millis();
|
uint32_t start_button = board_millis();
|
||||||
bool timeout = false;
|
bool timeout = false;
|
||||||
|
|||||||
Reference in New Issue
Block a user