diff options
Diffstat (limited to 'users/drashna/rgblight_breathe_table.h')
-rw-r--r-- | users/drashna/rgblight_breathe_table.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/users/drashna/rgblight_breathe_table.h b/users/drashna/rgblight_breathe_table.h index 05d347fcd3..4c6ae38faa 100644 --- a/users/drashna/rgblight_breathe_table.h +++ b/users/drashna/rgblight_breathe_table.h @@ -1,9 +1,10 @@ #ifndef RGBLIGHT_EFFECT_BREATHE_TABLE #define RGBLIGHT_EFFECT_BREATHE_TABLE +// clang-format off const uint8_t rgblight_effect_breathe_table[] PROGMEM = { - /* #define RGBLIGHT_EFFECT_BREATHE_CENTER 0.00 */ - /* #define RGBLIGHT_EFFECT_BREATHE_MAX 255 */ +/* #define RGBLIGHT_EFFECT_BREATHE_CENTER 0.00 */ +/* #define RGBLIGHT_EFFECT_BREATHE_MAX 255 */ #if RGBLIGHT_BREATHE_TABLE_SIZE == 256 0x44, 0x45, 0x47, 0x48, 0x4a, 0x4b, 0x4c, 0x4e, @@ -110,7 +111,8 @@ const uint8_t rgblight_effect_breathe_table[] PROGMEM = { 0x4e, 0x48 #endif /* 64 bytes table */ }; +// clang-format on -static const int table_scale = 256/sizeof(rgblight_effect_breathe_table); +static const int table_scale = 256 / sizeof(rgblight_effect_breathe_table); #endif /* RGBLIGHT_EFFECT_BREATHE_TABLE */ |