mirror of
https://gitee.com/xiaohuolufeihua/bizhang_-obav.git
synced 2026-05-21 01:12:11 +00:00
srgbled:Fix warning
This commit is contained in:
committed by
David Sidrane
parent
5f3e883f2c
commit
3ef93823f4
@@ -100,7 +100,7 @@
|
||||
|
||||
int neopixel_write_no_dma(uint8_t r, uint8_t g, uint8_t b, uint8_t led_count)
|
||||
{
|
||||
register neopixel::NeoLEDData::led_data_t data;
|
||||
neopixel::NeoLEDData::led_data_t data;
|
||||
data.grb[2] = g;
|
||||
data.grb[1] = r;
|
||||
data.grb[0] = b;
|
||||
|
||||
Reference in New Issue
Block a user