| | /brickos-0.2.6.10/kernel/dsensor.c:360: `sys_time' undeclared (first use in this function) Bernhard Powolny
|
| | I changed in /boot/config.h the //#define CONF_DSENSOR_MUX //!< sensor multiplexor TO #define CONF_DSENSOR_MUX //!< sensor multiplexor Now I got an errormessage if compile once again make realclean make depend make --unix (...) (22 years ago, 28-Apr-03, to lugnet.robotics.rcx.legos)
|
| | |
| | | | Re: /brickos-0.2.6.10/kernel/dsensor.c:360: `sys_time' undeclared (first use in this function) Bernhard Powolny
|
| | | | (...) now i tried to change //#define CONF_DSENSOR_VELOCITY //!< rotation sensor velocity to #define CONF_DSENSOR_VELOCITY //!< rotation sensor velocity because it use sys_time too. same error: /usr/local/bin/h8300...hi-hms-gcc -O2 -fno-builtin (...) (22 years ago, 28-Apr-03, to lugnet.robotics.rcx.legos)
|
| | | | |
| | | | | | Re: /brickos-0.2.6.10/kernel/dsensor.c:360: `sys_time' undeclared (first use in this function) Michael Obenland
|
| | | | | (...) 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 (...) (22 years ago, 28-Apr-03, to lugnet.robotics.rcx.legos)
|
| | | | | |
| | | | | | Re: /brickos-0.2.6.10/kernel/dsensor.c:360: `sys_time' undeclared (first use in this function) Bastiaan van Kesteren
|
| | | | i had the same problem a while back. I figured out that whit the new BrickOS, sys_time is replaced by get_system_up_time. So when you replace sys_time whit get_system_up_time, everything should work fine.(it worked for me, anyway) (22 years ago, 28-Apr-03, to lugnet.robotics.rcx.legos)
|
| | | | |