Skip to content

Commit

Permalink
Fix RGB_DISABLE_TIMEOUT overflow warning (qmk#9866) (qmk#9874)
Browse files Browse the repository at this point in the history
* Fix RGB_DISABLE_TIMEOUT overflow warning (qmk#9866)

* Adjust capitalization (qmk#9874)
  • Loading branch information
BeefaloKing authored and fdawans committed Aug 11, 2020
1 parent ab6a41c commit 3947c6b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion quantum/rgb_matrix.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 3947c6b

Please sign in to comment.