rgb: fix typo in macro

Signed-off-by: Sean Cross <sean@xobs.io>
This commit is contained in:
Sean Cross 2019-04-05 18:17:11 +08:00
parent b5f17acdf6
commit b40a9bad43
1 changed files with 1 additions and 1 deletions

View File

@ -23,7 +23,7 @@ enum led_registers {
if (rgb_mode == x) \
return; \
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 << 0) | (1 << 1) | (1 << 2)); \
} while(0)