kitchen don't action BTN1,BTN2 for next/prev waypoint until GPS is RUNNING
parent
c37f358426
commit
9aa2e0c311
|
|
@ -106,6 +106,7 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
function onButtonShort(btn) {
|
function onButtonShort(btn) {
|
||||||
|
if (gpsObject.getState() !== gpsObject.GPS_RUNNING) return;
|
||||||
switch(btn) {
|
switch(btn) {
|
||||||
case 1:
|
case 1:
|
||||||
log_debug("prev waypoint");
|
log_debug("prev waypoint");
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue