This is the mail archive of the
mailing list for the eCos project.
Re: cortexm fix rtc
Simon Kallweit <firstname.lastname@example.org> writes:
> Nick Garnett schrieb:
> > However, I don't see the point in the change to HAL_DELAY_US(). As far
> > as I can tell it has exactly the same effect, or am I missing
> > something?
> Do a series on paper, it's not the same. When the wrap around occures,
> you will add to the us counter. The 100ms delay on a redboot reboot
> never returned. With this fix, it actually takes 100ms :)
I'm still not convinced. However, there is no reason not to make the
change so I've applied it.
Nick Garnett eCos Kernel Architect
eCosCentric Limited http://www.eCosCentric.com The eCos experts
Barnwell House, Barnwell Drive, Cambridge, UK. Tel: +44 1223 245571
Registered in England and Wales: Reg No: 4422071