We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4f60201 commit f1f82a8Copy full SHA for f1f82a8
include/sys_clock.h
@@ -62,13 +62,13 @@ static inline int sys_clock_hw_cycles_per_tick(void)
62
#endif
63
64
/* number of nsec per usec */
65
-#define NSEC_PER_USEC 1000
+#define NSEC_PER_USEC 1000U
66
67
/* number of microseconds per millisecond */
68
-#define USEC_PER_MSEC 1000
+#define USEC_PER_MSEC 1000U
69
70
/* number of milliseconds per second */
71
-#define MSEC_PER_SEC 1000
+#define MSEC_PER_SEC 1000U
72
73
/* number of microseconds per second */
74
#define USEC_PER_SEC ((USEC_PER_MSEC) * (MSEC_PER_SEC))
0 commit comments