Add clock_delay_us and clock_set_seconds to clock.h. Modify clock_wait to use clock_time_t.
Remove the troublesome avr/dev/delay.* files. Add PLATFORM_NAME and combine the confusing *_REVISION defines into a single PLATFORM_TYPE
This commit is contained in:
parent
ea667cef2d
commit
cac4e9a222
39 changed files with 810 additions and 481 deletions
|
@ -317,7 +317,6 @@ uint32_t longhowlong;
|
|||
watchdog_start();
|
||||
|
||||
/* Adjust clock.c for the time spent sleeping */
|
||||
extern void clock_adjust_ticks(uint16_t howmany);
|
||||
longhowlong=CLOCK_CONF_SECOND;
|
||||
longhowlong*=howlong;
|
||||
clock_adjust_ticks(longhowlong/RTIMER_ARCH_SECOND);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue