forked from Archive/PX4-Autopilot
RGB order now matchs layout
This commit is contained in:
parent
eb58dae51b
commit
1250fb1b48
|
@ -145,18 +145,18 @@ __EXPORT const struct io_timers_t led_pwm_timers[MAX_LED_TIMERS] = {
|
||||||
};
|
};
|
||||||
|
|
||||||
__EXPORT const struct timer_io_channels_t led_pwm_channels[MAX_TIMER_LED_CHANNELS] = {
|
__EXPORT const struct timer_io_channels_t led_pwm_channels[MAX_TIMER_LED_CHANNELS] = {
|
||||||
{
|
|
||||||
.gpio_out = LED_TIM3_CH5OUT, // RGB_G
|
|
||||||
.gpio_in = 0,
|
|
||||||
.timer_index = 0,
|
|
||||||
.timer_channel = 6,
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
.gpio_out = LED_TIM3_CH1OUT, // RGB_R
|
.gpio_out = LED_TIM3_CH1OUT, // RGB_R
|
||||||
.gpio_in = 0,
|
.gpio_in = 0,
|
||||||
.timer_index = 0,
|
.timer_index = 0,
|
||||||
.timer_channel = 2,
|
.timer_channel = 2,
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
.gpio_out = LED_TIM3_CH5OUT, // RGB_G
|
||||||
|
.gpio_in = 0,
|
||||||
|
.timer_index = 0,
|
||||||
|
.timer_channel = 6,
|
||||||
|
},
|
||||||
{
|
{
|
||||||
.gpio_out = LED_TIM3_CH4OUT, // RGB_B
|
.gpio_out = LED_TIM3_CH4OUT, // RGB_B
|
||||||
.gpio_in = 0,
|
.gpio_in = 0,
|
||||||
|
|
Loading…
Reference in New Issue