1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-23 00:05:33 +03:00

Updating accgyro files so they do not include "board.h". It is now

clear what all accgyro drivers need to compile and what was
unnecessarily included before.
This commit is contained in:
Dominic Clifton 2014-04-16 17:33:47 +01:00
parent c493a1579c
commit f75f7a7e17
21 changed files with 208 additions and 83 deletions

10
src/platform.h Normal file
View file

@ -0,0 +1,10 @@
#pragma once
#include "stm32f10x_conf.h"
#include "core_cm3.h"
// Chip Unique ID on F103
#define U_ID_0 (*(uint32_t*)0x1FFFF7E8)
#define U_ID_1 (*(uint32_t*)0x1FFFF7EC)
#define U_ID_2 (*(uint32_t*)0x1FFFF7F0)