mirror of
https://github.com/portapack-mayhem/mayhem-firmware.git
synced 2025-01-07 22:57:48 +00:00
Restore missing halInit() call during M4 __late_init().
This commit is contained in:
parent
14ada9e132
commit
66320c39d4
@ -654,6 +654,15 @@ static __attribute__((noreturn)) msg_t rssi_fn(void *arg) {
|
|||||||
extern "C" {
|
extern "C" {
|
||||||
|
|
||||||
void __late_init(void) {
|
void __late_init(void) {
|
||||||
|
/*
|
||||||
|
* System initializations.
|
||||||
|
* - HAL initialization, this also initializes the configured device drivers
|
||||||
|
* and performs the board-specific initializations.
|
||||||
|
* - Kernel initialization, the main() function becomes a thread and the
|
||||||
|
* RTOS is active.
|
||||||
|
*/
|
||||||
|
halInit();
|
||||||
|
|
||||||
/* After this call, scheduler, systick, heap, etc. are available. */
|
/* After this call, scheduler, systick, heap, etc. are available. */
|
||||||
/* By doing chSysInit() here, it runs before C++ constructors, which may
|
/* By doing chSysInit() here, it runs before C++ constructors, which may
|
||||||
* require the heap.
|
* require the heap.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user