This is the mail archive of the ecos-patches@sourceware.org mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: cortexm fix rtc


Simon Kallweit <simon.kallweit@intefo.ch> 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]