优化IAR

This commit is contained in:
Meco Man 2021-02-08 10:55:08 +08:00
parent 9b428e519f
commit 3e9c77efd5

View File

@ -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.
* *