From 47f3a89441324f4912a7c83bad4f40837bc365b5 Mon Sep 17 00:00:00 2001 From: John Klug Date: Fri, 2 Dec 2016 16:50:38 -0600 Subject: Fix ethernet accessory card bug and add capability directory --- io-module/mts_eeprom.h | 1 + 1 file changed, 1 insertion(+) (limited to 'io-module/mts_eeprom.h') diff --git a/io-module/mts_eeprom.h b/io-module/mts_eeprom.h index 89f2439..f616e83 100644 --- a/io-module/mts_eeprom.h +++ b/io-module/mts_eeprom.h @@ -55,6 +55,7 @@ do { \ #define DEVICE_CAPA_VALUE(index, bit) ((((index) & 0x1F) << 3) | ((bit) & 0x07)) +#define CAPA_COUNT 9 // See also attribute_names in capab.c #define CAPA_GPS DEVICE_CAPA_VALUE(0, 7) #define CAPA_DIN DEVICE_CAPA_VALUE(0, 6) #define CAPA_DOUT DEVICE_CAPA_VALUE(0, 5) -- cgit v1.2.3