summaryrefslogtreecommitdiffstats
path: root/quantum/rgblight.h
diff options
context:
space:
mode:
authorDavid Dai <newtonapple@gmail.com>2018-12-31 17:42:58 +0100
committerMechMerlin <30334081+mechmerlin@users.noreply.github.com>2018-12-31 17:42:58 +0100
commitb7688590b8a252f7497e3f78d569b98ae62ab177 (patch)
tree5b6eca2321798a1116ab251da0d1029d01eb07b2 /quantum/rgblight.h
parent0c0e208a36300660f3d568d52ae3155becf92893 (diff)
downloadqmk_firmware-b7688590b8a252f7497e3f78d569b98ae62ab177.tar.gz
qmk_firmware-b7688590b8a252f7497e3f78d569b98ae62ab177.tar.xz
Change rgblight_get_mode & rgb_matrix_get_mode's return type to uint8_t. (#4747)
* Change rgblight_get_mode's return type to uint8_t. Since rgblight_get_mode() is just returning rgblight_config_t.mode, it should match rgblight_config_t.mode's type: uint8_t. * Update rgb_matrix_get_mode to return uint8_t.
Diffstat (limited to 'quantum/rgblight.h')
-rw-r--r--quantum/rgblight.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/quantum/rgblight.h b/quantum/rgblight.h
index 99ede43c5..65dda3f52 100644
--- a/quantum/rgblight.h
+++ b/quantum/rgblight.h
@@ -167,7 +167,7 @@ void rgblight_enable(void);
void rgblight_disable(void);
void rgblight_step(void);
void rgblight_step_reverse(void);
-uint32_t rgblight_get_mode(void);
+uint8_t rgblight_get_mode(void);
void rgblight_mode(uint8_t mode);
void rgblight_set(void);
void rgblight_update_dword(uint32_t dword);