This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: MS_TICKS() revisited
- To: Jonathan Larmour <jlarmour at redhat dot com>
- Subject: Re: [ECOS] MS_TICKS() revisited
- From: Grant Edwards <grante at visi dot com>
- Date: Fri, 9 Feb 2001 14:01:24 -0600
- Cc: ecos-discuss at sources dot redhat dot com
- References: <20010209131835.A4738@visi.com> <3A8449EC.9545FBB6@redhat.com>
On Fri, Feb 09, 2001 at 07:50:04PM +0000, Jonathan Larmour wrote:
> Thanks for the patch. One query before I apply it:
>
> +#if !defined(CYGPKG_REDBOOT_NETWORKING)
> +#define MS_TICKS_DELAY() hal_delay_us(1000)
> +#endif
> +
>
> Any reason this isn't do_ms_tick() ?
IIRC, I was thinking at the time that do_ms_tick() was part of
the networking package. It isn't, so it probably should be
do_ms_tick(). Now that I think of it, it might be a better
idea to move the definitions for MS_TICKS() and
MS_TICKS_DELAY() from net.h into a more general spot like
redboot.h. Then we don't need that chunk at all.
--
Grant Edwards
grante@visi.com