OpenEnergyMonitor Community

HAL-GetTick() always returns 0

Hello Guys,

I’m a novice and I’m trying to write the emontx code with HAL Library on STM32. My problem is that HAL_Gettick() always returns 0 but HAL_DELAY works perfectly. How could this Problem be solved?
I’ll be very thankful for your advices.

Thank you