mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-13 19:40:31 +03:00
git-svn-id: https://afrodevices.googlecode.com/svn/trunk/baseflight@397 7c89a4a9-59b9-e629-4cfe-3a2d53b20e61
20 lines
425 B
C
Executable file
20 lines
425 B
C
Executable file
#pragma once
|
|
|
|
void systemInit(void);
|
|
void delayMicroseconds(uint32_t us);
|
|
void delay(uint32_t ms);
|
|
|
|
uint32_t micros(void);
|
|
uint32_t millis(void);
|
|
|
|
// failure
|
|
void failureMode(uint8_t mode);
|
|
|
|
// bootloader/IAP
|
|
void systemReset(bool toBootloader);
|
|
|
|
// current crystal frequency - 8 or 12MHz
|
|
extern uint32_t hse_value;
|
|
|
|
// sensor orientation
|
|
void alignSensors(int16_t *src, int16_t *dest, uint8_t rotation);
|