rgb: fix typo in macro
Signed-off-by: Sean Cross <sean@xobs.io>
This commit is contained in:
parent
b5f17acdf6
commit
b40a9bad43
@ -23,7 +23,7 @@ enum led_registers {
|
|||||||
if (rgb_mode == x) \
|
if (rgb_mode == x) \
|
||||||
return; \
|
return; \
|
||||||
rgb_mode = x; \
|
rgb_mode = x; \
|
||||||
/* Toggle LEDD_EXE to force the mode to switch */
|
/* Toggle LEDD_EXE to force the mode to switch */ \
|
||||||
rgb_ctrl_write( (1 << 1) | (1 << 2)); \
|
rgb_ctrl_write( (1 << 1) | (1 << 2)); \
|
||||||
rgb_ctrl_write((1 << 0) | (1 << 1) | (1 << 2)); \
|
rgb_ctrl_write((1 << 0) | (1 << 1) | (1 << 2)); \
|
||||||
} while(0)
|
} while(0)
|
||||||
|
Loading…
Reference in New Issue
Block a user