Skip to content

Commit

Permalink
sn32 rgb driver: fix compilation issue on ROW2COL with COL2ROW PWM di…
Browse files Browse the repository at this point in the history
…rection
  • Loading branch information
dexter93 committed Jan 2, 2024
1 parent a426e9c commit 8b110c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/led/sn32/rgb_matrix_sn32f2xx.c
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ static uint8_t last_key_col = 0; // key col scan co
static uint8_t led_duty_cycle[SN32_RGB_MATRIX_ROWS_HW] = {0}; // track the channel duty cycle
# endif
#endif
#if (DIODE_DIRECTION == ROW2COL)
#if ((DIODE_DIRECTION == ROW2COL) && (SN32_PWM_DIRECTION != DIODE_DIRECTION))
static matrix_row_t row_shifter = MATRIX_ROW_SHIFTER;
#endif
#if defined(SHARED_MATRIX)
Expand Down

0 comments on commit 8b110c8

Please sign in to comment.