Fix 'unknown code' messages in console log.
parent
eda54f13db
commit
835e665017
|
@ -482,7 +482,7 @@ var MSP = {
|
|||
break;
|
||||
case MSP_codes.MSP_SET_BF_CONFIG:
|
||||
break;
|
||||
case MSP_codes.MSP_REBOOT:
|
||||
case MSP_codes.MSP_SET_REBOOT:
|
||||
console.log('Reboot request accepted');
|
||||
break;
|
||||
|
||||
|
@ -563,6 +563,10 @@ var MSP = {
|
|||
offset+= 4;
|
||||
break;
|
||||
|
||||
case MSP_codes.MSP_SET_CF_SERIAL_CONFIG:
|
||||
console.log('Serial config saved');
|
||||
break;
|
||||
|
||||
case MSP_codes.MSP_MODE_RANGES:
|
||||
MODE_RANGES = []; // empty the array as new data is coming in
|
||||
|
||||
|
|
Loading…
Reference in New Issue