aboutsummaryrefslogtreecommitdiff
path: root/drivers/avr/ws2812.h
diff options
context:
space:
mode:
authorJoel Challis <git@zvecr.com>2020-04-02 20:46:38 +0100
committerGitHub <noreply@github.com>2020-04-02 20:46:38 +0100
commit31fd0cbc1ca35ce023fbbc3553a04aa480dc2187 (patch)
treeb561d6508598fe03073f85adb395d0a2498b5901 /drivers/avr/ws2812.h
parent2b427f774a6665819306cf716d79355db3f7d169 (diff)
downloadqmk_firmware-31fd0cbc1ca35ce023fbbc3553a04aa480dc2187.tar.gz
qmk_firmware-31fd0cbc1ca35ce023fbbc3553a04aa480dc2187.zip
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 'drivers/avr/ws2812.h')
-rw-r--r--drivers/avr/ws2812.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/avr/ws2812.h b/drivers/avr/ws2812.h
index b869fb28c..88eb08189 100644
--- a/drivers/avr/ws2812.h
+++ b/drivers/avr/ws2812.h
@@ -29,7 +29,7 @@
29 * Input: 29 * Input:
30 * ledarray: An array of GRB data describing the LED colors 30 * ledarray: An array of GRB data describing the LED colors
31 * number_of_leds: The number of LEDs to write 31 * number_of_leds: The number of LEDs to write
32 * pinmask (optional): Bitmask describing the output bin. e.g. _BV(PB0) 32 * pin (optional): A pin_t definition for the line to drive
33 * 33 *
34 * The functions will perform the following actions: 34 * The functions will perform the following actions:
35 * - Set the data-out pin as output 35 * - Set the data-out pin as output
@@ -37,4 +37,4 @@
37 * - Wait 50us to reset the LEDs 37 * - Wait 50us to reset the LEDs
38 */ 38 */
39void ws2812_setleds(LED_TYPE *ledarray, uint16_t number_of_leds); 39void ws2812_setleds(LED_TYPE *ledarray, uint16_t number_of_leds);
40void ws2812_setleds_pin(LED_TYPE *ledarray, uint16_t number_of_leds, uint8_t pinmask); 40void ws2812_setleds_pin(LED_TYPE *ledarray, uint16_t number_of_leds, uint8_t pin);