fix RGBLIGHT_SPLIT_ANIMATION check position

pull/5020/head
mtei 6 years ago
parent a2e5e9b978
commit d4722ea537

@ -13,11 +13,6 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#ifdef RGBLIGHT_SPLIT_ANIMATION
#ifndef RGBLIGHT_SPLIT
#define RGBLIGHT_SPLIT
#endif
#endif
#include <math.h>
#include <string.h>
#ifdef __AVR__

@ -16,6 +16,12 @@
#ifndef RGBLIGHT_H
#define RGBLIGHT_H
#ifdef RGBLIGHT_SPLIT_ANIMATION
#ifndef RGBLIGHT_SPLIT
#define RGBLIGHT_SPLIT
#endif
#endif
#include "rgblight_reconfig.h"
/***** rgblight_mode(mode)/rgblight_mode_noeeprom(mode) ****

Loading…
Cancel
Save