summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason Reiss <jreiss@multitech.com>2020-03-05 16:41:49 -0600
committerJason Reiss <jreiss@multitech.com>2020-03-05 16:41:49 -0600
commit6234af3fae91215945a24caf80cf7341bc2caf84 (patch)
tree384ebdcb382e8fcab38a6270cb39686d8629f217
parent65662db674cb3529331dc5db83be9bd9220f072d (diff)
downloadmts-id-eeprom-6234af3fae91215945a24caf80cf7341bc2caf84.tar.gz
mts-id-eeprom-6234af3fae91215945a24caf80cf7341bc2caf84.tar.bz2
mts-id-eeprom-6234af3fae91215945a24caf80cf7341bc2caf84.zip
Remove hw ver for MTCAP to run on 0.2 with the same spidev paths0.5.1
-rw-r--r--src/mts_fpga_reg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mts_fpga_reg.c b/src/mts_fpga_reg.c
index f2ca298..916cf7b 100644
--- a/src/mts_fpga_reg.c
+++ b/src/mts_fpga_reg.c
@@ -110,7 +110,7 @@ int hw_check(mts_hw *mts) {
}
fscanf(fp, "%[^\n]", mts->dev_hw);
fclose(fp);
- if (strstr(mts->dev_hw, "MTCAP-0.1")) {
+ if (strstr(mts->dev_hw, "MTCAP")) {
if (mts->path != 0) {
printf("Path argument is not supported on this device. Exiting.\n");
return MTAC_INVALID_HARDWARE;