1
0
Fork 0
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:
Martin Budden 2016-08-04 00:55:16 +01:00 committed by borisbstyle
parent 4bb0816122
commit 07adf66bbb
100 changed files with 212 additions and 138 deletions

View file

@ -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)