diff options
author | BeefaloKing <9630438+BeefaloKing@users.noreply.github.com> | 2020-08-04 22:03:29 -0600 |
---|---|---|
committer | Drashna Jael're <drashna@live.com> | 2020-08-08 22:54:37 -0700 |
commit | a55bdf07184cee02a38ae298b1bc2e451632b987 (patch) | |
tree | 2aa1fb1a1c0f2cbb7d4136554c83657e2ccdceed /quantum | |
parent | cd0523e7d4b6d6252762cf834d7e7ded88f20da5 (diff) |
Fix RGB_DISABLE_TIMEOUT overflow warning (#9866) (#9874)
* Fix RGB_DISABLE_TIMEOUT overflow warning (#9866)
* Adjust capitalization (#9874)
Diffstat (limited to 'quantum')
-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 d235a37df3..0e6ba5fc42 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 |