Unify RGB and RGBW commands (#7297) 0.7.66
authorDrashna Jaelre <drashna@live.com>
Sat, 9 Nov 2019 15:51:39 +0000 (07:51 -0800)
committerJoel Challis <git@zvecr.com>
Sat, 9 Nov 2019 15:51:39 +0000 (15:51 +0000)
commit60e4921378d879eed110f801328e9642f35fa1e9
tree9bb36017ba58e7aedbcfee9db0bba1a3bc466359
parent78205e64a7053746b1491c0d39dbb300a55f3248
Unify RGB and RGBW commands (#7297)

* Fix unicode in comments

Co-Authored-By: fauxpark <fauxpark@gmail.com>
* Remove separate RGBW implementation for a unified function

* Set White to 0 in RGBW LEDs

This is just to get this working, later, proper brightness can be handled elsewhere.

* Use us instead of nanoseconds(?) since it renders correctly on web

* Remove RGBW function from arm/ws2812.h

* Remove RGBW function from arm/ws2812.c

* Formatting changes

* Add doc info
docs/config_options.md
drivers/arm/ws2812.c
drivers/arm/ws2812.h
drivers/avr/ws2812.c
drivers/avr/ws2812.h
drivers/avr/ws2812_i2c.c
quantum/rgb_matrix_drivers.c
quantum/rgblight.c