mirror of
https://github.com/betaflight/betaflight-configurator.git
synced 2025-07-15 12:25:15 +03:00
Configure 'MSP_DISPLAYPORT' messages to be recognised, ignored.
This commit is contained in:
parent
acb7a84422
commit
1ba4114db9
2 changed files with 5 additions and 0 deletions
|
@ -104,6 +104,8 @@ var MSPCodes = {
|
|||
MSP_UID: 160,
|
||||
MSP_GPS_SV_INFO: 164,
|
||||
|
||||
MSP_DISPLAYPORT: 182,
|
||||
|
||||
MSP_SET_RAW_RC: 200,
|
||||
MSP_SET_RAW_GPS: 201, // Not used
|
||||
MSP_SET_PID: 202,
|
||||
|
|
|
@ -328,6 +328,9 @@ MspHelper.prototype.process_data = function(dataHandler) {
|
|||
SENSOR_ALIGNMENT.align_acc = data.readU8();
|
||||
SENSOR_ALIGNMENT.align_mag = data.readU8();
|
||||
break;
|
||||
case MSPCodes.MSP_DISPLAYPORT:
|
||||
console.log('Received \'MSP_DISPLAYPORT\' message, ignored.');
|
||||
break;
|
||||
case MSPCodes.MSP_SET_RAW_RC:
|
||||
break;
|
||||
case MSPCodes.MSP_SET_PID:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue