mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-23 00:05:33 +03:00
Remaining LED strip driver issues resolved.
This commit is contained in:
parent
504f6b4479
commit
18decaf436
70 changed files with 326 additions and 669 deletions
|
@ -65,7 +65,7 @@ void ws2811LedStripHardwareInit(ioTag_t ioTag)
|
|||
return;
|
||||
}
|
||||
|
||||
ws2811IO = IOGetByTag(IO_TAG(WS2811_PIN));
|
||||
ws2811IO = IOGetByTag(ioTag);
|
||||
IOInit(ws2811IO, OWNER_LED_STRIP, RESOURCE_OUTPUT, 0);
|
||||
IOConfigGPIOAF(ws2811IO, IO_CONFIG(GPIO_Mode_AF, GPIO_Speed_50MHz, GPIO_OType_PP, GPIO_PuPd_UP), timerHardware->alternateFunction);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue