From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1851 invoked by alias); 4 Nov 2008 18:23:37 -0000 Received: (qmail 1828 invoked by uid 22791); 4 Nov 2008 18:23:36 -0000 X-Spam-Status: No, hits=-2.3 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from anchor-post-36.mail.demon.net (HELO anchor-post-36.mail.demon.net) (194.217.242.86) by sourceware.org (qpsmtpd/0.31) with ESMTP; Tue, 04 Nov 2008 18:22:36 +0000 Received: from calivar.demon.co.uk ([83.104.54.243] helo=xl5.calivar.com) by anchor-post-36.mail.demon.net with esmtp (Exim 4.67) id 1KxQXx-000FuO-M7; Tue, 04 Nov 2008 18:22:33 +0000 Received: from xl5.calivar.com (localhost [127.0.0.1]) by xl5.calivar.com (Postfix) with ESMTP id 11E1413877F; Tue, 4 Nov 2008 18:22:33 +0000 (GMT) To: "simon.kallweit@intefo.ch" Cc: ecos-patches@ecos.sourceware.org Subject: Re: cortexm fix rtc References: <49107011.7060704@intefo.ch> From: Nick Garnett Original-Sender: nickg@ecoscentric.com Date: Tue, 04 Nov 2008 18:23:00 -0000 In-Reply-To: <49107011.7060704@intefo.ch> Message-ID: User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Mailing-List: contact ecos-patches-help@ecos.sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: ecos-patches-owner@ecos.sourceware.org X-SW-Source: 2008-11/txt/msg00013.txt.bz2 "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