sensor-hal-tm1: sync with sensor-hal-tw1 HAL
[platform/adaptation/tm1/sensor-hal-tm1.git] / src / macro.h
index 64446af..132b547 100644 (file)
@@ -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