Browse Source

RGB order now matchs layout

sbg
David Sidrane 6 years ago committed by Daniel Agar
parent
commit
1250fb1b48
  1. 8
      boards/nxp/fmuk66-v3/src/timer_config.c

8
boards/nxp/fmuk66-v3/src/timer_config.c

@ -146,16 +146,16 @@ __EXPORT const struct io_timers_t led_pwm_timers[MAX_LED_TIMERS] = { @@ -146,16 +146,16 @@ __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] = {
{
.gpio_out = LED_TIM3_CH5OUT, // RGB_G
.gpio_out = LED_TIM3_CH1OUT, // RGB_R
.gpio_in = 0,
.timer_index = 0,
.timer_channel = 6,
.timer_channel = 2,
},
{
.gpio_out = LED_TIM3_CH1OUT, // RGB_R
.gpio_out = LED_TIM3_CH5OUT, // RGB_G
.gpio_in = 0,
.timer_index = 0,
.timer_channel = 2,
.timer_channel = 6,
},
{
.gpio_out = LED_TIM3_CH4OUT, // RGB_B

Loading…
Cancel
Save