This is the mail archive of the
ecos-patches@sourceware.org
mailing list for the eCos project.
Re: cortexm fix rtc
- From: Nick Garnett <nickg at ecoscentric dot com>
- To: "simon dot kallweit at intefo dot ch" <simon dot kallweit at intefo dot ch>
- Cc: ecos-patches at ecos dot sourceware dot org
- Date: 04 Nov 2008 18:22:32 +0000
- Subject: Re: cortexm fix rtc
- References: <49107011.7060704@intefo.ch>
"simon.kallweit@intefo.ch" <simon.kallweit@intefo.ch> writes:
> This patch fixes a small issue with the SysTick reload value (this has
> to be period - 1) and fixed wrap-around in the hal_delay_us() function.
The -1 on the period is OK.
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?
--
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