rgblight_get_mode()’s return type right now is
uint32_t, but upon inspection of its implementation, it’s actually returning
rgblight_config_t.mode, which is an
uint8_t. The return type should match
I’ve grep’d through all the keymaps, there does seem to be a few places where
rgblight_get_mode’s return value is being saved into another uint32_t variable. These are probably be OK as they’re just upcasting.
rgb_matrix_get_mode to return
uint8_t for similar reason.