diff options
author | Laurent Gauthier | 2015-02-06 11:17:36 -0600 |
---|---|---|
committer | Laurent Gauthier | 2015-02-06 11:17:36 -0600 |
commit | 7fdfb26f777890b7fda82f79c083cda4729cbcee (patch) | |
tree | b1f0a4d04063baa2982d39d39f4ae33b788b71de | |
parent | 87a228144e1af5888ba53299a1f40d44f99a1a10 (diff) | |
parent | 2b7775ccd5a1a8a56ca4b54040b7f76902fa9dc8 (diff) | |
download | dfe-lld-7fdfb26f777890b7fda82f79c083cda4729cbcee.tar.gz dfe-lld-7fdfb26f777890b7fda82f79c083cda4729cbcee.tar.xz dfe-lld-7fdfb26f777890b7fda82f79c083cda4729cbcee.zip |
Merge branch 'master' of git://gtgit02.gt.design.ti.com/git/projects/dfe-lld
-rw-r--r-- | dfe_drv.h | 11 | ||||
-rw-r--r-- | test/src/testCmd.c | 2 |
2 files changed, 12 insertions, 1 deletions
@@ -1802,6 +1802,17 @@ DFE_Err Dfe_getDpdCfg | |||
1802 | DFE_DpdCfg *dpdCfg | 1802 | DFE_DpdCfg *dpdCfg |
1803 | ); | 1803 | ); |
1804 | 1804 | ||
1805 | /* Reset DFE Errors and Alarms counters */ | ||
1806 | void Dfe_resetException( | ||
1807 | DFE_Handle hDfe | ||
1808 | ); | ||
1809 | |||
1810 | /* Capture and copy DFE Errors and Alarms counters */ | ||
1811 | void Dfe_captureException ( | ||
1812 | DFE_Handle hDfe, | ||
1813 | DFE_EeCountObj *capturePtr | ||
1814 | ); | ||
1815 | |||
1805 | /* Enable DFE Errors and Alarms */ | 1816 | /* Enable DFE Errors and Alarms */ |
1806 | DFE_Err Dfe_enableException( | 1817 | DFE_Err Dfe_enableException( |
1807 | DFE_Handle hDfe | 1818 | DFE_Handle hDfe |
diff --git a/test/src/testCmd.c b/test/src/testCmd.c index ddb224c..4359f6a 100644 --- a/test/src/testCmd.c +++ b/test/src/testCmd.c | |||
@@ -625,7 +625,7 @@ int readBBRXPM_DMA(DFE_Handle hDfe, PktDmaConfigHandle hPktDma, float *result, i | |||
625 | // RMS | 625 | // RMS |
626 | // Query power meter configuration and recover the integration period | 626 | // Query power meter configuration and recover the integration period |
627 | bbpmConfig.pmId = pmId; | 627 | bbpmConfig.pmId = pmId; |
628 | dfeFl_BbGetHwStatus(hDfe->hDfeBb[0], DFE_FL_BB_QUERY_TXPM_CFG, &bbpmConfig); | 628 | dfeFl_BbGetHwStatus(hDfe->hDfeBb[0], DFE_FL_BB_QUERY_RXPM_CFG, &bbpmConfig); |
629 | integrationPeriod = bbpmConfig.intgPd;//30720; | 629 | integrationPeriod = bbpmConfig.intgPd;//30720; |
630 | if ( (integer !=0) || (exponent !=0) || (fraction !=0)) | 630 | if ( (integer !=0) || (exponent !=0) || (fraction !=0)) |
631 | { | 631 | { |