mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-16 12:55:19 +03:00
removing obsolete code
This commit is contained in:
parent
875f3bfa15
commit
bfb6e17187
1 changed files with 0 additions and 13 deletions
13
js/msp.js
13
js/msp.js
|
@ -398,19 +398,6 @@ MSP.process_data = function(code, message_buffer, message_length) {
|
|||
break;
|
||||
case MSP_codes.MSP_RESET_CONF:
|
||||
console.log('Settings Reset');
|
||||
|
||||
// With new flight software settings in place, we have to re-pull
|
||||
// latest values
|
||||
MSP.send_message(MSP_codes.MSP_IDENT);
|
||||
MSP.send_message(MSP_codes.MSP_STATUS);
|
||||
MSP.send_message(MSP_codes.MSP_PID);
|
||||
MSP.send_message(MSP_codes.MSP_RC_TUNING);
|
||||
MSP.send_message(MSP_codes.MSP_BOXNAMES);
|
||||
MSP.send_message(MSP_codes.MSP_BOX);
|
||||
|
||||
// baseflight specific
|
||||
MSP.send_message(MSP_codes.MSP_UID);
|
||||
MSP.send_message(MSP_codes.MSP_ACC_TRIM);
|
||||
break;
|
||||
case MSP_codes.MSP_SELECT_SETTING:
|
||||
console.log('Profile selected');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue