diff options
| author | Joel Challis <git@zvecr.com> | 2020-04-02 20:46:38 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-04-02 20:46:38 +0100 |
| commit | 31fd0cbc1ca35ce023fbbc3553a04aa480dc2187 (patch) | |
| tree | b561d6508598fe03073f85adb395d0a2498b5901 /keyboards | |
| parent | 2b427f774a6665819306cf716d79355db3f7d169 (diff) | |
Fix AVR ws2812 when ADDRESS_BASE is non zero (#8646)
* Fix AVR ws2812 when ADDRESS_BASE is non zero
* fix port
* remove unused function defs
Diffstat (limited to 'keyboards')
| -rw-r--r-- | keyboards/ergodox_ez/led_i2c.c | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/keyboards/ergodox_ez/led_i2c.c b/keyboards/ergodox_ez/led_i2c.c index 4a7a02f468..7c1ccdec5a 100644 --- a/keyboards/ergodox_ez/led_i2c.c +++ b/keyboards/ergodox_ez/led_i2c.c | |||
| @@ -27,19 +27,6 @@ | |||
| 27 | 27 | ||
| 28 | extern rgblight_config_t rgblight_config; | 28 | extern rgblight_config_t rgblight_config; |
| 29 | 29 | ||
| 30 | /* | ||
| 31 | * Forward declare internal functions | ||
| 32 | * | ||
| 33 | * The functions take a byte-array and send to the data output as WS2812 bitstream. | ||
| 34 | * The length is the number of bytes to send - three per LED. | ||
| 35 | */ | ||
| 36 | |||
| 37 | void ws2812_sendarray(uint8_t *array, uint16_t length); | ||
| 38 | void ws2812_sendarray_mask(uint8_t *array, uint16_t length, uint8_t pinmask); | ||
| 39 | |||
| 40 | |||
| 41 | |||
| 42 | |||
| 43 | void rgblight_set(void) { | 30 | void rgblight_set(void) { |
| 44 | if (!rgblight_config.enable) { | 31 | if (!rgblight_config.enable) { |
| 45 | for (uint8_t i = 0; i < RGBLED_NUM; i++) { | 32 | for (uint8_t i = 0; i < RGBLED_NUM; i++) { |
