projects
/
platform
/
adaptation
/
tm1
/
sensor-hal-tm1.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
sensor-hal-tm1: sync with sensor-hal-tw1 HAL
[platform/adaptation/tm1/sensor-hal-tm1.git]
/
src
/
macro.h
diff --git
a/src/macro.h
b/src/macro.h
index
64446af
..
132b547
100644
(file)
--- a/
src/macro.h
+++ b/
src/macro.h
@@
-20,5
+20,6
@@
#define ARRAY_SIZE(x) (sizeof(x) / sizeof((x)[0]))
+#define MIN(x, y) ((x) < (y) ? (x) : (y))
+
#endif /* __MACRO_H__ */
-//! End of a file