diff --git a/firmware/baseband/main.cpp b/firmware/baseband/main.cpp index eb048ace..58d72545 100755 --- a/firmware/baseband/main.cpp +++ b/firmware/baseband/main.cpp @@ -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.