mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-25 09:16:07 +03:00
Merge pull request #1518 from blckmn/simplified_owners
Simplified owners
This commit is contained in:
commit
c90a0d1a04
59 changed files with 217 additions and 167 deletions
|
@ -15,7 +15,7 @@
|
|||
* along with Cleanflight. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
#pragma once
|
||||
|
||||
#include <stdbool.h>
|
||||
#include <stdint.h>
|
||||
|
@ -101,10 +101,9 @@ void IOHi(IO_t io);
|
|||
void IOLo(IO_t io);
|
||||
void IOToggle(IO_t io);
|
||||
|
||||
void IOInit(IO_t io, resourceOwner_e owner, resourceType_e resource, uint8_t index);
|
||||
void IOInit(IO_t io, resourceOwner_e owner, uint8_t index);
|
||||
void IORelease(IO_t io); // unimplemented
|
||||
resourceOwner_e IOGetOwner(IO_t io);
|
||||
resourceType_e IOGetResources(IO_t io);
|
||||
IO_t IOGetByTag(ioTag_t tag);
|
||||
|
||||
void IOConfigGPIO(IO_t io, ioConfig_t cfg);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue