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.
This commit is contained in:
@@ -180,7 +180,7 @@ void rgb_matrix_increase_speed(void);
|
||||
void rgb_matrix_decrease_speed(void);
|
||||
void rgb_matrix_mode(uint8_t mode);
|
||||
void rgb_matrix_mode_noeeprom(uint8_t mode);
|
||||
uint32_t rgb_matrix_get_mode(void);
|
||||
uint8_t rgb_matrix_get_mode(void);
|
||||
|
||||
#ifndef RGBLIGHT_ENABLE
|
||||
#define rgblight_toggle() rgb_matrix_toggle()
|
||||
|
Reference in New Issue
Block a user