fix: RTOS independent 1ms tick count for HAL (#3178)
* fix: use a 1ms HW timer to generate a RTOS independend 1ms tick counter for HAL * fix comments
This commit is contained in:
@@ -20,9 +20,9 @@
|
||||
*/
|
||||
|
||||
#include "stm32_hal.h"
|
||||
#include "rtos.h"
|
||||
#include "timers_driver.h"
|
||||
|
||||
extern "C" uint32_t HAL_GetTick(void)
|
||||
{
|
||||
return RTOS_GET_MS();
|
||||
return timersGetMsTick();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user