kitchen don't action BTN1,BTN2 for next/prev waypoint until GPS is RUNNING

master
hughbarney 2021-03-25 21:12:46 +00:00
parent c37f358426
commit 9aa2e0c311
1 changed files with 1 additions and 0 deletions

View File

@ -106,6 +106,7 @@
}
function onButtonShort(btn) {
if (gpsObject.getState() !== gpsObject.GPS_RUNNING) return;
switch(btn) {
case 1:
log_debug("prev waypoint");