diff options
author | John Klug <john.klug@multitech.com> | 2020-10-30 18:14:11 -0500 |
---|---|---|
committer | John Klug <john.klug@multitech.com> | 2020-10-30 18:14:11 -0500 |
commit | 51f720ec2513cfcc06226c5efb6ad016e56e0357 (patch) | |
tree | 3f2e10ddb1c2945fb971edcd7af1c990465fcb7a | |
parent | b1421b0c3504b84b4342f4f7aadcc253714461b2 (diff) | |
download | mtac-51f720ec2513cfcc06226c5efb6ad016e56e0357.tar.gz mtac-51f720ec2513cfcc06226c5efb6ad016e56e0357.tar.bz2 mtac-51f720ec2513cfcc06226c5efb6ad016e56e0357.zip |
Add correct eeprom paths by machine type4.0.6
-rw-r--r-- | configure.ac | 2 | ||||
-rw-r--r-- | mtac.c | 9 |
2 files changed, 8 insertions, 3 deletions
diff --git a/configure.ac b/configure.ac index 4396685..8e49919 100644 --- a/configure.ac +++ b/configure.ac @@ -1,4 +1,4 @@ -AC_INIT([mts-io], [1.0.0]) +AC_INIT([mtac], [4.0.6]) AM_INIT_AUTOMAKE AM_CONFIG_HEADER([config.h]) @@ -22,8 +22,13 @@ EXPORT_SYMBOL(mts_ap_eeprom); static const char* eeprom_file_name[NUM_AP] = { #if NUM_AP > 0 - "1-0050/eeprom", "1-0052/eeprom" -#endif + #ifdef mtcdt + "1-0050/eeprom", "1-0052/eeprom" + #endif + #ifdef mtcpmhs + "2-0050/eeprom", "2-0052/eeprom" + #endif +#endif // NUM_AP > 0 }; /* info for accessory port (contains function pointers for setup and teardown, |