button fix

This commit is contained in:
Egor
2024-09-27 12:10:13 -07:00
parent c5156373c2
commit 2c1b2ca56c

View File

@@ -1127,12 +1127,8 @@ void loop(void)
display.display();
}
// LiLyGo doesn't have button ;(
// ToDO: Check if we use BOOT button
#ifndef LILYGO
if (buttonPressHandler(freq) == false)
break;
#endif // END LILYGO
// wait a little bit before the next scan,
// otherwise the SX1262 hangs