updates rgblight implementation, makes non-timer stuff compatible with audio

This commit is contained in:
Jack Humbert 2016-07-07 11:33:32 -04:00
parent ad43d450ca
commit 57e08eb8ba
17 changed files with 160 additions and 74 deletions

View file

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