优化IAR
This commit is contained in:
parent
9b428e519f
commit
3e9c77efd5
@ -18,9 +18,6 @@
|
|||||||
#include <rtdevice.h>
|
#include <rtdevice.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
#if !defined (__IAR_SYSTEMS_ICC__)
|
|
||||||
|
|
||||||
/* seconds per day */
|
/* seconds per day */
|
||||||
#define SPD 24*60*60
|
#define SPD 24*60*60
|
||||||
|
|
||||||
@ -155,8 +152,6 @@ char* ctime(const time_t *timep)
|
|||||||
return asctime(localtime(timep));
|
return asctime(localtime(timep));
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif /* __IAR_SYSTEMS_ICC__ */
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Returns the current time.
|
* Returns the current time.
|
||||||
*
|
*
|
||||||
|
Loading…
x
Reference in New Issue
Block a user