Switch PageUp/Down keys in serial console

This commit is contained in:
fvanroie 2020-11-14 19:18:18 +01:00
parent 94cf2c18aa
commit 04e8c81340

View File

@ -602,14 +602,14 @@ void debugLoop()
nextchar = Serial.read(); nextchar = Serial.read();
} }
if(nextchar == 126) { if(nextchar == 126) {
dispatchPagePrev(); dispatchPageNext();
} }
break; break;
case 54: // Page Down case 54: // Page Down
/*if(Serial.peek() >= 0)*/ { /*if(Serial.peek() >= 0)*/ {
nextchar = Serial.read(); nextchar = Serial.read();
if(nextchar == 126) { if(nextchar == 126) {
dispatchPageNext(); dispatchPagePrev();
} }
} }
break; break;