Merge pull request #362 from mikeller/ignore_msp_displayport_messages
Configure 'MSP_DISPLAYPORT' messages to be recognised, ignored.10.3.x-maintenance
commit
6c4120d0da
|
@ -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…
Reference in New Issue