fix RGBLIGHT_SPLIT_ANIMATION check position

This commit is contained in:
mtei 2019-03-13 15:26:26 +09:00
parent a2e5e9b978
commit d4722ea537
2 changed files with 6 additions and 5 deletions

View File

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

View File

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