]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - tas2557sw-android/tas2557dm-ftc.git/blobdiff - tas2557.h
update FTC for PG2.1
[tas2557sw-android/tas2557dm-ftc.git] / tas2557.h
index 31c120c4310d6d9b0ffef180b1bda2660c3809b2..86164cc92dab4e8236bd945bd03b54c3831ec9a7 100755 (executable)
--- a/tas2557.h
+++ b/tas2557.h
@@ -31,9 +31,6 @@
 \r
 #define TILOAD_IOC_MAGIC   0xE0\r
 \r
-#define CONFIGURATION 0\r
-#define CONFIGURATION_CALIBRATION 2\r
-\r
 #define TILOAD_IOCTL_SET_CHL                   _IOW(TILOAD_IOC_MAGIC, 5, int)\r
 #define TILOAD_IOCTL_SET_CONFIG                _IOW(TILOAD_IOC_MAGIC, 6, int)\r
 #define TILOAD_IOCTL_SET_CALIBRATION   _IOW(TILOAD_IOC_MAGIC, 7, int)\r
@@ -46,8 +43,6 @@
 #define RE2_FAIL_LO         0x00001000 \r
 #define RE2_CHK_MSK         0x00001100\r
 \r
-void tas2557_load_configuration(int nConfiguration);\r
-void tas2557_load_calibration(int nCalibration);\r
 uint8_t tas2557_get_PGID(void);\r
 void tas2557_mixer_command(char *pCommand, int nData);\r
 uint32_t tas2557_switch_device(uint8_t i2cslave);\r
@@ -57,9 +52,9 @@ void tas2557_save_cal(TFTCConfiguration *pFTCC,
        double dev_a_re, uint32_t dev_a_rms_pow, uint32_t dev_a_t_limit, \r
        double dev_b_re, uint32_t dev_b_rms_pow, uint32_t dev_b_t_limit, \r
        double t_cal, uint32_t,char * pFileName);\r
-uint32_t check_spk_bounds(TFTCConfiguration *pFTCC, double re1, double re2);   \r
-void tas2557_open_bin(char * pFileName, unsigned int nConfiguration, \r
-       unsigned char dev_a, unsigned char dev_b);\r
+uint32_t check_spk_bounds(TFTCConfiguration *pFTCC, double re1, double re2);\r
+void tas2557_load_calibration(int nCalibration);\r
+void tas2557_open_bin(char * pFileName, unsigned char dev_a, unsigned char dev_b);\r
 void tas2557_close_bin(void);\r
 \r
 #endif /* TAS2557_H_ */\r