1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-23 00:05:33 +03:00

Enable using of any RC channel to set the color hue modifier.

Can be set via MSP (bumped to version 22)
New CLI command: mode_color 7 0 AUX_Channel
AUX_Channel:
    ROLL = 0
    PITCH = 1
    YAW = 2
    THROTTLE = 3
    AUX1 = 4
    AUX2 = 5
    AUX3 = 6
    AUX4 = 7
    AUX5 = 8
    AUX6 = 9
    AUX7 = 10
    AUX8 = 11

Fixed CLI defaults printing for #1019.
This commit is contained in:
gaelj 2016-08-16 13:01:22 +02:00 committed by Michael Keller
parent bd1d96dff9
commit 431295ab21
7 changed files with 24 additions and 5 deletions

View file

@ -960,6 +960,11 @@ static bool mspFcProcessOutCommand(uint8_t cmdMSP, sbuf_t *dst, mspPostProcessFn
sbufWriteU8(dst, j);
sbufWriteU8(dst, masterConfig.specialColors.color[j]);
}
sbufWriteU8(dst, LED_AUX_CHANNEL);
sbufWriteU8(dst, 0);
sbufWriteU8(dst, masterConfig.ledstrip_aux_channel);
break;
#endif