Add SLAVE_COUNT

This commit is contained in:
László Monda
2018-01-04 23:16:48 +01:00
parent fa558abef3
commit 33e501cd83
2 changed files with 6 additions and 2 deletions
+4
View File
@@ -6,6 +6,10 @@
#include "fsl_common.h"
#include "config.h"
// Macros:
#define SLAVE_COUNT (sizeof(Slaves) / sizeof(uhk_slave_t))
// Typedefs:
typedef enum { // Slaves[] is meant to be indexed with these values