Refactor some platform dependent logic (#13675)
This commit is contained in:
parent
145d89ab91
commit
b5bcd5b0a1
11 changed files with 65 additions and 46 deletions
|
@ -170,15 +170,12 @@ enum RGBLIGHT_EFFECT_MODE {
|
|||
|
||||
#include <stdint.h>
|
||||
#include <stdbool.h>
|
||||
#include "progmem.h"
|
||||
#include "eeconfig.h"
|
||||
#include "ws2812.h"
|
||||
#include "color.h"
|
||||
#include "rgblight_list.h"
|
||||
|
||||
#if defined(__AVR__)
|
||||
# include <avr/pgmspace.h>
|
||||
#endif
|
||||
|
||||
#ifdef RGBLIGHT_LAYERS
|
||||
typedef struct {
|
||||
uint8_t index; // The first LED to light
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue