]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - keystone-rtos/dfe-lld.git/commitdiff
fix in pm test via cpp dma
authorSebastien Tomas <s-tomas@ti.com>
Thu, 5 Feb 2015 13:45:42 +0000 (14:45 +0100)
committerSebastien Tomas <s-tomas@ti.com>
Thu, 5 Feb 2015 13:45:42 +0000 (14:45 +0100)
test/src/testCmd.c

index ddb224cbbb8b69e156b5cdcee13b35ea25183d66..4359f6a17a9f8f6d495e6c72f61320a7030e856b 100644 (file)
@@ -625,7 +625,7 @@ int readBBRXPM_DMA(DFE_Handle hDfe, PktDmaConfigHandle hPktDma, float *result, i
                                // RMS
                 // Query power meter configuration and recover the integration period
                 bbpmConfig.pmId =  pmId;
-                dfeFl_BbGetHwStatus(hDfe->hDfeBb[0], DFE_FL_BB_QUERY_TXPM_CFG, &bbpmConfig);
+                dfeFl_BbGetHwStatus(hDfe->hDfeBb[0], DFE_FL_BB_QUERY_RXPM_CFG, &bbpmConfig);
                 integrationPeriod = bbpmConfig.intgPd;//30720;
                 if ( (integer !=0) || (exponent !=0) || (fraction !=0))
                 {