mirror of
https://github.com/iNavFlight/inav-configurator.git
synced 2025-07-15 20:35:19 +03:00
PID controllers can now be reset to defaults
This commit is contained in:
parent
c738e23a85
commit
19e6f9026b
2 changed files with 9 additions and 0 deletions
|
@ -71,6 +71,7 @@ var MSP_codes = {
|
|||
MSP_SET_MOTOR: 214,
|
||||
MSP_SET_3D: 217,
|
||||
MSP_SET_RC_CONTROLS: 218,
|
||||
MSP_SET_RESET_CURR_PID: 219,
|
||||
|
||||
// MSP_BIND: 240,
|
||||
|
||||
|
@ -859,6 +860,9 @@ var MSP = {
|
|||
case MSP_codes.MSP_SET_ARMING_CONFIG:
|
||||
console.log('Arming config saved');
|
||||
break;
|
||||
case MSP_codes.MSP_SET_RESET_CURR_PID:
|
||||
console.log('Current PID profile reset');
|
||||
break;
|
||||
|
||||
default:
|
||||
console.log('Unknown code detected: ' + code);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue