clarify BUTTON macro usages

This commit is contained in:
Philippe Teuwen 2020-05-15 00:00:42 +02:00
commit 4dac94c772
8 changed files with 23 additions and 29 deletions

View file

@ -501,7 +501,7 @@ failtag:
LED_A_INV();
}
if (BUTTON_HELD(10) > 0) {
if (BUTTON_HELD(10) == BUTTON_HOLD) {
WDT_HIT();
DbprintfEx(FLAG_NEWLINE, "\t\t\t[ READING FLASH ]");
ReadLastTagFromFlash();