Skip to content

Commit

Permalink
[CI] Format code according to conventions (qmk#12650)
Browse files Browse the repository at this point in the history
Co-authored-by: QMK Bot <hello@qmk.fm>
  • Loading branch information
2 people authored and mechlovin committed Jul 30, 2021
1 parent 6c048b5 commit 3307f1e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions quantum/led_matrix.c
Original file line number Diff line number Diff line change
Expand Up @@ -181,9 +181,9 @@ void led_matrix_set_value(int index, uint8_t value) {
#endif
# ifdef USE_CIE1931_CURVE
led_matrix_driver.set_value(index, pgm_read_byte(&CIE1931_CURVE[value]));
# else
led_matrix_driver.set_value(index, value);
# endif
#else
led_matrix_driver.set_value(index, value);
#endif
}

void led_matrix_set_value_all(uint8_t value) {
Expand Down
6 changes: 3 additions & 3 deletions quantum/split_common/transport.c
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,7 @@ typedef struct _Serial_m2s_buffer_t {
uint32_t sync_timer;
# endif
# ifdef SPLIT_TRANSPORT_MIRROR
matrix_row_t mmatrix[ROWS_PER_HAND];
matrix_row_t mmatrix[ROWS_PER_HAND];
# endif
# ifdef BACKLIGHT_ENABLE
uint8_t backlight_level;
Expand All @@ -278,8 +278,8 @@ typedef struct _Serial_m2s_buffer_t {
bool led_suspend_state;
# endif
# if defined(RGB_MATRIX_ENABLE) && defined(RGB_MATRIX_SPLIT)
rgb_config_t rgb_matrix;
bool rgb_suspend_state;
rgb_config_t rgb_matrix;
bool rgb_suspend_state;
# endif
} Serial_m2s_buffer_t;

Expand Down

0 comments on commit 3307f1e

Please sign in to comment.