summaryrefslogtreecommitdiff
path: root/io-module/mts-io.c
diff options
context:
space:
mode:
Diffstat (limited to 'io-module/mts-io.c')
-rw-r--r--io-module/mts-io.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/io-module/mts-io.c b/io-module/mts-io.c
index 31f69f9..180a7b0 100644
--- a/io-module/mts-io.c
+++ b/io-module/mts-io.c
@@ -607,6 +607,7 @@ static struct ap_info* port_info[NUM_AP];
#include "mtac_mfser.c"
#include "mtac_eth.c"
#include "mtac_lora.c"
+#include "mtac_pulse.c"
static bool load_port(int port) {
int port_index = port - 1;
@@ -643,6 +644,11 @@ static bool load_port(int port) {
log_error("failed to set up lora port info");
return false;
}
+ } else if (strstr(ap_eeprom[port_index].product_id, PRODUCT_ID_MTAC_PULSE)) {
+ if (! set_pulse_info(port_info[port_index])) {
+ log_error("failed to set up pulse port info");
+ return false;
+ }
} else {
log_error("unknown accessory card [%s] in port %d", ap_eeprom[port_index].product_id, port);
kfree(port_info[port_index]);