format code according to conventions [skip ci]
This commit is contained in:
parent
2ffb08843b
commit
1aa40dde46
@ -180,10 +180,13 @@ typedef struct {
|
||||
} rgblight_segment_t;
|
||||
|
||||
# define RGBLIGHT_END_SEGMENT_INDEX (255)
|
||||
# define RGBLIGHT_END_SEGMENTS {RGBLIGHT_END_SEGMENT_INDEX, 0, 0, 0}
|
||||
# define RGBLIGHT_END_SEGMENTS \
|
||||
{ RGBLIGHT_END_SEGMENT_INDEX, 0, 0, 0 }
|
||||
# define RGBLIGHT_MAX_LAYERS 8
|
||||
# define RGBLIGHT_LAYER_SEGMENTS(...) { __VA_ARGS__, RGBLIGHT_END_SEGMENTS }
|
||||
# define RGBLIGHT_LAYERS_LIST(...) { __VA_ARGS__, NULL }
|
||||
# define RGBLIGHT_LAYER_SEGMENTS(...) \
|
||||
{ __VA_ARGS__, RGBLIGHT_END_SEGMENTS }
|
||||
# define RGBLIGHT_LAYERS_LIST(...) \
|
||||
{ __VA_ARGS__, NULL }
|
||||
|
||||
// Get/set enabled rgblight layers
|
||||
void rgblight_set_layer_state(uint8_t layer, bool enabled);
|
||||
|
Loading…
Reference in New Issue
Block a user