mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-20 04:43:34 +08:00
LPC11C24: __low_init() renamed to commonly known SystemInit()
This commit is contained in:
@@ -129,7 +129,7 @@ void setErrorLed(bool state)
|
|||||||
extern "C"
|
extern "C"
|
||||||
{
|
{
|
||||||
|
|
||||||
void __low_init()
|
void SystemInit()
|
||||||
{
|
{
|
||||||
board::init();
|
board::init();
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -26,7 +26,7 @@ extern funptr_t __init_array_end;
|
|||||||
__attribute__((noreturn))
|
__attribute__((noreturn))
|
||||||
extern int main(void);
|
extern int main(void);
|
||||||
|
|
||||||
extern void __low_init(void);
|
extern void SystemInit(void);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Firmware entry point
|
* Firmware entry point
|
||||||
@@ -47,7 +47,7 @@ void Reset_Handler(void)
|
|||||||
// BSS section
|
// BSS section
|
||||||
fill32(&_bss, &_ebss, 0);
|
fill32(&_bss, &_ebss, 0);
|
||||||
|
|
||||||
__low_init();
|
SystemInit();
|
||||||
|
|
||||||
// Constructors
|
// Constructors
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user