Commit Graph

13 Commits

Author SHA1 Message Date
Adam Dunkels
bb2dcaa057 A massive all-tree automated update of all double inclusion guard #defines that changes from using two underscores as a prefix, which are reserved, to not using two underscores as a prefix 2013-11-24 20:20:11 +01:00
David Kopf
cac4e9a222 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
2012-04-09 15:49:53 -04:00
adamdunkels
e346d8cf95 Reverted the timer_expired() back to the previous version (which should be correct). Removed the definition of CLOCK_LT() because it seems to only cause problems. 2009-01-24 15:20:11 +00:00
adamdunkels
3a4a961ff5 Fixed the CLOCK_LT again. The previous revert was incorrect: the conditional was missing due to a bad copy-and-paste on my part :( 2009-01-24 10:54:44 +00:00
adamdunkels
6cbe50d9ef Fixed missing parenthesis 2009-01-23 17:16:38 +00:00
adamdunkels
b258a99e22 Reverted CLOCK_LT to the previous version, which upon closer examination seems to be correct. The new version did not work correctly on the minimal-net platform. 2009-01-23 16:13:57 +00:00
adamdunkels
9324dc1e7d Hardy Griech's timer bugfix: avoid direct comparison for timer values since they may wrap. Instead, use the CLOCK_LT() that works correctly even for wrapped timers. 2008-08-15 19:16:09 +00:00
adamdunkels
4875d5926d Added CCIF to make clock_seconds() function name visible for win32 2008-07-10 17:09:32 +00:00
adamdunkels
e04e49999d Added a clock_seconds() function prototype to core/sys/clock.h, that returns seconds in 32 bit format. 2008-07-07 23:38:46 +00:00
oliverschmidt
420b06863c Declare some more functions as CCIF (Contiki Core Interface) to trigger exporting the symbols from the main binary on Win32. 2008-02-07 23:04:35 +00:00
fros4943
59c75144e8 compare clock_time_t's 2007-09-07 10:20:30 +00:00
adamdunkels
6a8d8e3abf Added experimental clock_fine() function 2007-03-25 21:51:31 +00:00
adamdunkels
c9e808d638 Import of the contiki-2.x development code from the SICS internal CVS server 2006-06-17 22:41:10 +00:00