<div dir="ltr"><div>Okay, good to know. Do you think it's okay if my simpler implementation is used completely?<br>Another option would be to use the simple function for the oscillator init functions (sth like a private HAL_GetTick_OscInit function).<br></div><div>But maybe you have a better idea.</div><div><br></div><div>Kind Regards<br></div><div>Robin<br></div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, 20 Apr 2021 at 19:48, Sebastian Huber <<a href="mailto:sebastian.huber@embedded-brains.de">sebastian.huber@embedded-brains.de</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On 20/04/2021 19:45, Robin Müller wrote:<br>
<br>
> Hmm, do you have an idea how to fix this cleanly? Was this the reason <br>
> the implementation returned 0?<br>
Yes.<br>
> This was not an issue with the other implementation:<br>
><br>
> (rtems_clock_get_ticks_since_boot() * 1000) / <br>
> rtems_clock_get_ticks_per_second();<br>
<br>
This function is much simpler. It just reads a global variable. During <br>
startup the time is frozen.<br>
<br>
-- <br>
embedded brains GmbH<br>
Herr Sebastian HUBER<br>
Dornierstr. 4<br>
82178 Puchheim<br>
Germany<br>
email: <a href="mailto:sebastian.huber@embedded-brains.de" target="_blank">sebastian.huber@embedded-brains.de</a><br>
phone: +49-89-18 94 741 - 16<br>
fax: +49-89-18 94 741 - 08<br>
<br>
Registergericht: Amtsgericht München<br>
Registernummer: HRB 157899<br>
Vertretungsberechtigte Geschäftsführer: Peter Rasmussen, Thomas Dörfler<br>
Unsere Datenschutzerklärung finden Sie hier:<br>
<a href="https://embedded-brains.de/datenschutzerklaerung/" rel="noreferrer" target="_blank">https://embedded-brains.de/datenschutzerklaerung/</a><br>
<br>
</blockquote></div>