1
0
Fork 0
mirror of https://github.com/iNavFlight/inav.git synced 2025-07-24 00:35:34 +03:00

Drop MSP_MOTOR_PINS

This commit is contained in:
Pawel Spychalski (DzikuVx) 2024-04-10 16:25:02 +02:00
parent b79dea677c
commit 25c5452209
2 changed files with 0 additions and 8 deletions

View file

@ -859,13 +859,6 @@ static bool mspFcProcessOutCommand(uint16_t cmdMSP, sbuf_t *dst, mspPostProcessF
sbufWriteU8(dst, currentBatteryProfile->capacity.unit); sbufWriteU8(dst, currentBatteryProfile->capacity.unit);
break; break;
case MSP_MOTOR_PINS:
// FIXME This is hardcoded and should not be.
for (int i = 0; i < 8; i++) {
sbufWriteU8(dst, i + 1);
}
break;
#ifdef USE_GPS #ifdef USE_GPS
case MSP_RAW_GPS: case MSP_RAW_GPS:
sbufWriteU8(dst, gpsSol.fixType); sbufWriteU8(dst, gpsSol.fixType);

View file

@ -233,7 +233,6 @@
#define MSP_RC_TUNING 111 //out message rc rate, rc expo, rollpitch rate, yaw rate, dyn throttle PID #define MSP_RC_TUNING 111 //out message rc rate, rc expo, rollpitch rate, yaw rate, dyn throttle PID
#define MSP_ACTIVEBOXES 113 //out message Active box flags (full width, more than 32 bits) #define MSP_ACTIVEBOXES 113 //out message Active box flags (full width, more than 32 bits)
#define MSP_MISC 114 //out message powermeter trig #define MSP_MISC 114 //out message powermeter trig
#define MSP_MOTOR_PINS 115 //out message which pins are in use for motors & servos, for GUI
#define MSP_BOXNAMES 116 //out message the aux switch names #define MSP_BOXNAMES 116 //out message the aux switch names
#define MSP_WP 118 //out message get a WP, WP# is in the payload, returns (WP#, lat, lon, alt, flags) WP#0-home, WP#16-poshold #define MSP_WP 118 //out message get a WP, WP# is in the payload, returns (WP#, lat, lon, alt, flags) WP#0-home, WP#16-poshold
#define MSP_BOXIDS 119 //out message get the permanent IDs associated to BOXes #define MSP_BOXIDS 119 //out message get the permanent IDs associated to BOXes