1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-25 17:25:20 +03:00

Dang, forgot to push the changeset that reverts the test code.

This commit is contained in:
mikeller 2019-02-05 20:13:05 +13:00
parent e121e1e92b
commit 5006387c59
2 changed files with 5 additions and 8 deletions

View file

@ -99,6 +99,11 @@ void ws2811LedStripInit(ioTag_t ioTag)
{
memset(ledStripDMABuffer, 0, sizeof(ledStripDMABuffer));
ws2811LedStripHardwareInit(ioTag);
const hsvColor_t hsv_black = { 0, 0, 0 };
setStripColor(&hsv_black);
// RGB or GRB ordering doesn't matter for black
ws2811UpdateStrip(LED_RGB);
}
bool isWS2811LedStripReady(void)

View file

@ -1172,14 +1172,6 @@ void ledStripInit(void)
#endif
ws2811LedStripInit(ledStripConfig()->ioTag);
delay(1);
ledStripDisable();
delay(1);
ledStripDisable();
}
static uint8_t selectVisualBeeperColor(uint8_t colorIndex)