summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorAndrew Kannan <andrew.kannan@klaviyo.com>2019-01-29 01:40:02 +0100
committerDrashna Jaelre <drashna@live.com>2019-01-29 01:40:02 +0100
commit0f507f01696eae0e8fe808d17a19db3f6d9e2ce4 (patch)
tree986c78fbb09b6bf5e33df6c28158e6877af64960 /drivers
parentd9120412d3d81fc688a7e5346711cf716518dc34 (diff)
downloadqmk_firmware-0f507f01696eae0e8fe808d17a19db3f6d9e2ce4.tar.gz
qmk_firmware-0f507f01696eae0e8fe808d17a19db3f6d9e2ce4.tar.xz
Practice60 RGB and PWM Backlight (#4929)
* Update Practice60 to enable RGB via SPI DMA and use PWM backlight breathing * Correct stm32f103c8t6 flash size in eeprom definition * Remove unused files and improve ifdef checks * Update quantum/rgblight.c Co-Authored-By: awkannan <andrew.kannan@klaviyo.com> * Update quantum/rgblight.c Co-Authored-By: awkannan <andrew.kannan@klaviyo.com> * EEPROM implementation fix and updated p60 code * Update define * Remove dead code * Update keymap to remove test key * Update keymap again
Diffstat (limited to 'drivers')
-rw-r--r--drivers/avr/ws2812.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/avr/ws2812.c b/drivers/avr/ws2812.c
index 59e032bf7..5bd837ec7 100644
--- a/drivers/avr/ws2812.c
+++ b/drivers/avr/ws2812.c
@@ -128,11 +128,11 @@ unsigned char I2C_Write(unsigned char c)
c <<= 1;
}
-
+
I2C_WriteBit(0);
_delay_us(I2C_DELAY);
_delay_us(I2C_DELAY);
-
+
// _delay_us(I2C_DELAY);
//return I2C_ReadBit();
return 0;