From aaab850407c8d0bf7a2cfbee3bddf32ce0c9ec65 Mon Sep 17 00:00:00 2001 From: Dominic Clifton Date: Thu, 29 Jan 2015 15:29:12 +0100 Subject: [PATCH] Change MSP_SONAR_ALTITUDE to be in the range used for cleanflight original commands. See https://code.google.com/p/multiwii/source/browse/trunk/MultiWii_shared/Protocol.cpp#18 --- js/msp.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/msp.js b/js/msp.js index e7fa7555..4bbd7636 100644 --- a/js/msp.js +++ b/js/msp.js @@ -19,6 +19,7 @@ var MSP_codes = { MSP_SET_ADJUSTMENT_RANGE: 53, MSP_CF_SERIAL_CONFIG: 54, MSP_SET_CF_SERIAL_CONFIG: 55, + MSP_SONAR: 58, // Multiwii MSP commands MSP_IDENT: 100, @@ -42,7 +43,6 @@ var MSP_codes = { MSP_WP: 118, MSP_BOXIDS: 119, MSP_SERVO_CONF: 120, - MSP_SONAR: 123, MSP_SET_RAW_RC: 200, MSP_SET_RAW_GPS: 201,