mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-19 14:25:20 +03:00
Fix 'unknown code' messages in console log.
This commit is contained in:
parent
eda54f13db
commit
835e665017
1 changed files with 5 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue