Subject:
|
Re: /brickos-0.2.6.10/kernel/dsensor.c:360: `sys_time' undeclared (first use in this function)
|
Newsgroups:
|
lugnet.robotics.rcx.legos
|
Date:
|
Mon, 28 Apr 2003 16:37:36 GMT
|
Viewed:
|
3362 times
|
| |
| |
Bernhard Powolny wrote:
> > I changed in /boot/config.h
> //#define CONF_DSENSOR_VELOCITY //!< rotation sensor velocity
> to
> #define CONF_DSENSOR_VELOCITY //!< rotation sensor velocity
> because it use sys_time too.
To get rid of this error, find and replace all occurrences of sys_time
with get_system_up_time().
If you look at include/time.h, you will find that the direct reading of
the sys_time variable is not allowed anymore. There was a thread about
the problem with the reading of sys_time on this newsgroup a while ago.
Regards,
Michael
|
|
Message is in Reply To:
4 Messages in This Thread:
- Entire Thread on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
|
|
|
|