~ruther/qmk_firmware

349646bfe0658b1b0236fcc986db714b510114df — BeefaloKing 5 years ago 62c0146
Fix RGB_DISABLE_TIMEOUT overflow warning (#9866) (#9874)

* Fix RGB_DISABLE_TIMEOUT overflow warning (#9866)

* Adjust capitalization (#9874)
1 files changed, 1 insertions(+), 1 deletions(-)

M quantum/rgb_matrix.c
M quantum/rgb_matrix.c => quantum/rgb_matrix.c +1 -1
@@ 58,7 58,7 @@ const point_t k_rgb_matrix_center = RGB_MATRIX_CENTER;
// ------------------------------------------

#if defined(RGB_DISABLE_AFTER_TIMEOUT) && !defined(RGB_DISABLE_TIMEOUT)
#    define RGB_DISABLE_TIMEOUT (RGB_DISABLE_AFTER_TIMEOUT * 1200)
#    define RGB_DISABLE_TIMEOUT (RGB_DISABLE_AFTER_TIMEOUT * 1200UL)
#endif

#ifndef RGB_DISABLE_TIMEOUT