Compilation fix

This commit is contained in:
Bertrand Songis
2019-06-25 11:30:52 +02:00
parent f9ab0ee9ad
commit 4560d8de42
3 changed files with 4 additions and 3 deletions
+3
View File
@@ -67,4 +67,7 @@
#define CONVERT_UINT_PTR(x) ((uint32_t *)(x))
#endif
// returns the number of elements of an array
#define DIM(arr) (sizeof((arr)) / sizeof((arr)[0]))
#endif // _DEFINITIONS_H_