mirror of
https://github.com/eried/portapack-mayhem.git
synced 2025-07-29 09:39:12 -04:00
Restore missing halInit() call during M4 __late_init().
This commit is contained in:
parent
14ada9e132
commit
66320c39d4
1 changed files with 9 additions and 0 deletions
|
@ -654,6 +654,15 @@ static __attribute__((noreturn)) msg_t rssi_fn(void *arg) {
|
|||
extern "C" {
|
||||
|
||||
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. */
|
||||
/* By doing chSysInit() here, it runs before C++ constructors, which may
|
||||
* require the heap.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue