Browse Source

Fix RGB_DISABLE_TIMEOUT overflow warning (#9866) (#9874)

* Fix RGB_DISABLE_TIMEOUT overflow warning (#9866)

* Adjust capitalization (#9874)
master
BeefaloKing 3 years ago
parent
commit
349646bfe0
No account linked to committer's email address
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      quantum/rgb_matrix.c

+ 1
- 1
quantum/rgb_matrix.c View File

@@ -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

Loading…
Cancel
Save