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 05d347fcd..4c6ae38fa 100644 --- a/users/drashna/rgblight_breathe_table.h +++ b/users/drashna/rgblight_breathe_table.h | |||
| @@ -1,9 +1,10 @@ | |||
| 1 | #ifndef RGBLIGHT_EFFECT_BREATHE_TABLE | 1 | #ifndef RGBLIGHT_EFFECT_BREATHE_TABLE |
| 2 | #define RGBLIGHT_EFFECT_BREATHE_TABLE | 2 | #define RGBLIGHT_EFFECT_BREATHE_TABLE |
| 3 | 3 | ||
| 4 | // clang-format off | ||
| 4 | const uint8_t rgblight_effect_breathe_table[] PROGMEM = { | 5 | const uint8_t rgblight_effect_breathe_table[] PROGMEM = { |
| 5 | /* #define RGBLIGHT_EFFECT_BREATHE_CENTER 0.00 */ | 6 | /* #define RGBLIGHT_EFFECT_BREATHE_CENTER 0.00 */ |
| 6 | /* #define RGBLIGHT_EFFECT_BREATHE_MAX 255 */ | 7 | /* #define RGBLIGHT_EFFECT_BREATHE_MAX 255 */ |
| 7 | 8 | ||
| 8 | #if RGBLIGHT_BREATHE_TABLE_SIZE == 256 | 9 | #if RGBLIGHT_BREATHE_TABLE_SIZE == 256 |
| 9 | 0x44, 0x45, 0x47, 0x48, 0x4a, 0x4b, 0x4c, 0x4e, | 10 | 0x44, 0x45, 0x47, 0x48, 0x4a, 0x4b, 0x4c, 0x4e, |
| @@ -110,7 +111,8 @@ const uint8_t rgblight_effect_breathe_table[] PROGMEM = { | |||
| 110 | 0x4e, 0x48 | 111 | 0x4e, 0x48 |
| 111 | #endif /* 64 bytes table */ | 112 | #endif /* 64 bytes table */ |
| 112 | }; | 113 | }; |
| 114 | // clang-format on | ||
| 113 | 115 | ||
| 114 | static const int table_scale = 256/sizeof(rgblight_effect_breathe_table); | 116 | static const int table_scale = 256 / sizeof(rgblight_effect_breathe_table); |
| 115 | 117 | ||
| 116 | #endif /* RGBLIGHT_EFFECT_BREATHE_TABLE */ | 118 | #endif /* RGBLIGHT_EFFECT_BREATHE_TABLE */ |
