aboutsummaryrefslogtreecommitdiffstats
path: root/quantum/rgblight.h
diff options
context:
space:
mode:
authorOlivier <olivier@gid0.org>2016-08-20 18:07:02 +0200
committerOlivier <olivier@gid0.org>2016-08-20 18:07:02 +0200
commit009ab77d3e26bd348e45a9a8102b2737c9367979 (patch)
treeb01491320736c818584098c4b7a6dce8de53f405 /quantum/rgblight.h
parent4cfb262faab653247f4d66d44bf5f3339d82bd36 (diff)
parenta3f726174c0f8f358f7970767a1bf743fd9ad761 (diff)
downloadfirmware-009ab77d3e26bd348e45a9a8102b2737c9367979.tar.gz
firmware-009ab77d3e26bd348e45a9a8102b2737c9367979.tar.bz2
firmware-009ab77d3e26bd348e45a9a8102b2737c9367979.zip
Merge https://github.com/jackhumbert/qmk_firmware
Diffstat (limited to 'quantum/rgblight.h')
-rw-r--r--quantum/rgblight.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/quantum/rgblight.h b/quantum/rgblight.h
index 64f92523e..def26c428 100644
--- a/quantum/rgblight.h
+++ b/quantum/rgblight.h
@@ -1,8 +1,11 @@
#ifndef RGBLIGHT_H
#define RGBLIGHT_H
-#ifndef RGBLIGHT_MODES
-#define RGBLIGHT_MODES 23
+
+#if !defined(AUDIO_ENABLE) && defined(RGBLIGHT_TIMER)
+ #define RGBLIGHT_MODES 23
+#else
+ #define RGBLIGHT_MODES 1
#endif
#ifndef RGBLIGHT_EFFECT_SNAKE_LENGTH