Skip to content

Commit

Permalink
more linting
Browse files Browse the repository at this point in the history
  • Loading branch information
dexter93 committed Nov 5, 2022
1 parent 4490ba6 commit aebfe46
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/led/sn32/rgb_matrix_sn32f24xb.c
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ static PWMConfig pwmcfg = {

static void rgb_ch_ctrl(PWMConfig *cfg) {
/* Enable PWM function, IOs and select the PWM modes for the LED column pins */
for(uint8_t i = 0; i < LED_MATRIX_COLS; i++) {
for (uint8_t i = 0; i < LED_MATRIX_COLS; i++) {
// Only P0.0 to P2.15 can be used as pwm output
if (led_col_pins[i] > C15) continue;
/* We use a tricky here, accordint to pfpa table of sn32f240b datasheet,
Expand Down

0 comments on commit aebfe46

Please sign in to comment.