diff options
author | BeefaloKing <9630438+BeefaloKing@users.noreply.github.com> | 2020-08-04 22:03:29 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-08-04 21:03:29 -0700 |
commit | 349646bfe0658b1b0236fcc986db714b510114df (patch) | |
tree | 8c902b6eff766aa639099286644d07685e6c005f | |
parent | 62c0146419a3a51614e200cfbddef69d14fde6f4 (diff) | |
download | qmk_firmware-349646bfe0658b1b0236fcc986db714b510114df.tar.gz qmk_firmware-349646bfe0658b1b0236fcc986db714b510114df.zip |
Fix RGB_DISABLE_TIMEOUT overflow warning (#9866) (#9874)
* Fix RGB_DISABLE_TIMEOUT overflow warning (#9866)
* Adjust capitalization (#9874)
-rw-r--r-- | quantum/rgb_matrix.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/quantum/rgb_matrix.c b/quantum/rgb_matrix.c index f3da0ab0f7..615b4b0a7b 100644 --- a/quantum/rgb_matrix.c +++ b/quantum/rgb_matrix.c @@ -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 |