mirror of
https://github.com/iNavFlight/inav-configurator.git
synced 2025-07-15 12:25:13 +03:00
Change messages to MSP2_INAV range
This commit is contained in:
parent
ba74db2dc3
commit
6e1973a76d
3 changed files with 9 additions and 7 deletions
|
@ -1028,7 +1028,7 @@ var mspHelper = (function (gui) {
|
|||
}
|
||||
}
|
||||
break;
|
||||
case MSPCodes.MSP_LED_STRIP_CONFIG_EX:
|
||||
case MSPCodes.MSP2_INAV_LED_STRIP_CONFIG_EX:
|
||||
//noinspection JSUndeclaredVariable
|
||||
LED_STRIP = [];
|
||||
|
||||
|
@ -1085,7 +1085,7 @@ var mspHelper = (function (gui) {
|
|||
case MSPCodes.MSP_SET_LED_STRIP_CONFIG:
|
||||
console.log('Led strip config saved');
|
||||
break;
|
||||
case MSPCodes.MSP_SET_LED_STRIP_CONFIG_EX:
|
||||
case MSPCodes.MSP2_INAV_SET_LED_STRIP_CONFIG_EX:
|
||||
console.log('Led strip extended config saved');
|
||||
break;
|
||||
case MSPCodes.MSP_LED_COLORS:
|
||||
|
@ -2722,7 +2722,7 @@ var mspHelper = (function (gui) {
|
|||
nextFunction = onCompleteCallback;
|
||||
}
|
||||
|
||||
MSP.send_message(MSPCodes.MSP_SET_LED_STRIP_CONFIG_EX, buffer, false, nextFunction);
|
||||
MSP.send_message(MSPCodes.MSP2_INAV_SET_LED_STRIP_CONFIG_EX, buffer, false, nextFunction);
|
||||
}
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue