mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-18 22:05:17 +03:00
Use slightly flatter directory structure since some developers did not
like too many folders. Extracted code from some files into separate files to fit with the new layout.
This commit is contained in:
parent
39adc34278
commit
3bd4cd2ed2
84 changed files with 732 additions and 645 deletions
17
src/drivers/system_common.h
Executable file
17
src/drivers/system_common.h
Executable file
|
@ -0,0 +1,17 @@
|
|||
#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;
|
Loading…
Add table
Add a link
Reference in a new issue