diff options
Diffstat (limited to 'io-module/mts_io.h')
-rw-r--r-- | io-module/mts_io.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/io-module/mts_io.h b/io-module/mts_io.h index cc88392..3645e17 100644 --- a/io-module/mts_io.h +++ b/io-module/mts_io.h @@ -107,12 +107,10 @@ enum spi_devices { // contains function pointers for setup and teardown and useful info // each type of accessory card should have one of these struct ap_info { - uint8_t product_id; + char product_id[32]; bool (*setup)(enum ap port); bool (*teardown)(enum ap port); - int attrs_start; - int attrs_end; - char* (*gpio_pin_name_by_attr_name)(const char* name); + char* (*gpio_pin_name_by_attr_name)(const char* name, int port); }; #endif /* ~__MTS_IO_H */ |