Skip to content

Commit

Permalink
Explicitly initialize the HAL layer.
Browse files Browse the repository at this point in the history
  • Loading branch information
feaser committed Feb 4, 2024
1 parent 02f6130 commit 9ae2d60
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions demos/modbus/ARM_CORTEXM_ST_Nucleo_F429ZI/bsp.c
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,9 @@ void BspInit(void)
/* Disable the interrupts. */
__disable_irq();

/* Initialize the HAL. */
HAL_Init();

/* Configure the system clock. */
SystemClock_Config();

Expand Down

0 comments on commit 9ae2d60

Please sign in to comment.