summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;