[PATCH] Updated tick implementation for HAL_GetTick
Sebastian Huber
sebastian.huber at embedded-brains.de
Tue Apr 20 17:48:30 UTC 2021
On 20/04/2021 19:45, Robin Müller wrote:
> Hmm, do you have an idea how to fix this cleanly? Was this the reason
> the implementation returned 0?
Yes.
> This was not an issue with the other implementation:
>
> (rtems_clock_get_ticks_since_boot() * 1000) /
> rtems_clock_get_ticks_per_second();
This function is much simpler. It just reads a global variable. During
startup the time is frozen.
--
embedded brains GmbH
Herr Sebastian HUBER
Dornierstr. 4
82178 Puchheim
Germany
email: sebastian.huber at embedded-brains.de
phone: +49-89-18 94 741 - 16
fax: +49-89-18 94 741 - 08
Registergericht: Amtsgericht München
Registernummer: HRB 157899
Vertretungsberechtigte Geschäftsführer: Peter Rasmussen, Thomas Dörfler
Unsere Datenschutzerklärung finden Sie hier:
https://embedded-brains.de/datenschutzerklaerung/
More information about the devel
mailing list