1
0
Fork 0
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:
cTn 2014-09-16 21:17:53 +02:00
parent 875f3bfa15
commit bfb6e17187

View file

@ -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');