mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-07-16 17:00:34 +08: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