mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-18 05:45:31 +03:00
Optimisation of driver header files
This commit is contained in:
parent
4bb0816122
commit
07adf66bbb
100 changed files with 212 additions and 138 deletions
|
@ -17,12 +17,11 @@
|
|||
|
||||
#pragma once
|
||||
|
||||
#include "io.h"
|
||||
#include "rcc.h"
|
||||
#include <stdbool.h>
|
||||
#include <stdint.h>
|
||||
|
||||
#if !defined(USABLE_TIMER_CHANNEL_COUNT)
|
||||
#define USABLE_TIMER_CHANNEL_COUNT 14
|
||||
#endif
|
||||
#include "io_types.h"
|
||||
#include "rcc_types.h"
|
||||
|
||||
typedef uint16_t captureCompare_t; // 16 bit on both 103 and 303, just register access must be 32bit sometimes (use timCCR_t)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue