mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-24 00:35:39 +03:00
Introduce per device pin pre-init
This commit is contained in:
parent
2e81109be1
commit
9ea1428d11
44 changed files with 219 additions and 201 deletions
|
@ -279,7 +279,7 @@ bool IOIsFreeOrPreinit(IO_t io)
|
|||
{
|
||||
resourceOwner_e owner = IOGetOwner(io);
|
||||
|
||||
if (owner == OWNER_FREE || owner == OWNER_SPI_PREINIT_IPU || owner == OWNER_SPI_PREINIT_OPU) {
|
||||
if (owner == OWNER_FREE || owner == OWNER_PREINIT) {
|
||||
return true;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue