summaryrefslogtreecommitdiffstats
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)
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 b869fb28c8..88eb081894 100644
--- a/drivers/avr/ws2812.h
+++ b/drivers/avr/ws2812.h
@@ -29,7 +29,7 @@
* Input:
* ledarray: An array of GRB data describing the LED colors
* number_of_leds: The number of LEDs to write
- * pinmask (optional): Bitmask describing the output bin. e.g. _BV(PB0)
+ * pin (optional): A pin_t definition for the line to drive
*
* The functions will perform the following actions:
* - Set the data-out pin as output
@@ -37,4 +37,4 @@
* - Wait 50us to reset the LEDs
*/
void ws2812_setleds(LED_TYPE *ledarray, uint16_t number_of_leds);
-void ws2812_setleds_pin(LED_TYPE *ledarray, uint16_t number_of_leds, uint8_t pinmask);
+void ws2812_setleds_pin(LED_TYPE *ledarray, uint16_t number_of_leds, uint8_t pin);