]> git.donarmstrong.com Git - qmk_firmware.git/commit
Change rgblight_get_mode & rgb_matrix_get_mode's return type to uint8_t. (#4747)
authorDavid Dai <newtonapple@gmail.com>
Mon, 31 Dec 2018 16:42:58 +0000 (08:42 -0800)
committerMechMerlin <30334081+mechmerlin@users.noreply.github.com>
Mon, 31 Dec 2018 16:42:58 +0000 (08:42 -0800)
commitb7688590b8a252f7497e3f78d569b98ae62ab177
tree5b6eca2321798a1116ab251da0d1029d01eb07b2
parent0c0e208a36300660f3d568d52ae3155becf92893
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.
keyboards/mxss/rgblight.c
quantum/rgb_matrix.c
quantum/rgb_matrix.h
quantum/rgblight.c
quantum/rgblight.h