mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-14 11:59:58 +03:00
Cleanup project structure. Update unit test Makefile to place object
files in obj/test
This commit is contained in:
parent
fb9e3a2358
commit
d19a5e7046
330 changed files with 657 additions and 638 deletions
17
src/main/drivers/system.h
Executable file
17
src/main/drivers/system.h
Executable file
|
@ -0,0 +1,17 @@
|
|||
#pragma once
|
||||
|
||||
void systemInit(bool overclock);
|
||||
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;
|
Loading…
Add table
Add a link
Reference in a new issue