diff options
author | Piyali Goswami | 2018-05-12 08:24:59 -0500 |
---|---|---|
committer | Piyali Goswami | 2018-05-12 08:24:59 -0500 |
commit | 03358872fac51b430f9123ad79e47bc1e39c0341 (patch) | |
tree | 02dfcacc0c84ed917f76782b8c293da7582b42b5 | |
parent | 930a43240caa0f1289131ea328f0b51cb2f0c2d2 (diff) | |
download | vps-03358872fac51b430f9123ad79e47bc1e39c0341.tar.gz vps-03358872fac51b430f9123ad79e47bc1e39c0341.tar.xz vps-03358872fac51b430f9123ad79e47bc1e39c0341.zip |
PDK-2511 Updates for build and testing fixes
Signed-off-by: Piyali Goswami <a0131625@ti.com>
-rwxr-xr-x | include/devices/bsp_ar12xx.h | 2 | ||||
-rwxr-xr-x | src/devices/radar_ar12xx/src/bspdrv_ar12xxPriv.c | 6 |
2 files changed, 5 insertions, 3 deletions
diff --git a/include/devices/bsp_ar12xx.h b/include/devices/bsp_ar12xx.h index 6628464..16525f8 100755 --- a/include/devices/bsp_ar12xx.h +++ b/include/devices/bsp_ar12xx.h | |||
@@ -116,7 +116,7 @@ typedef enum | |||
116 | /**< Bit map to re-config/config the advanced Frame configuration */ | 116 | /**< Bit map to re-config/config the advanced Frame configuration */ |
117 | BSP_AR12XX_CONFIG_ADV_FRAME_ALL = 0x17FFFU, | 117 | BSP_AR12XX_CONFIG_ADV_FRAME_ALL = 0x17FFFU, |
118 | /**< Bit map to re-config/config all configurations for Adv Frame config. */ | 118 | /**< Bit map to re-config/config all configurations for Adv Frame config. */ |
119 | BSP_AR12XX_CONFIG_CONT_STREAMING = 0x20000U, | 119 | BSP_AR12XX_CONFIG_CONT_STREAMING = 0x20000U |
120 | /**< Bit map to configure and enable continuous streaming. */ | 120 | /**< Bit map to configure and enable continuous streaming. */ |
121 | }Bsp_Ar12xxConfigOption; | 121 | }Bsp_Ar12xxConfigOption; |
122 | 122 | ||
diff --git a/src/devices/radar_ar12xx/src/bspdrv_ar12xxPriv.c b/src/devices/radar_ar12xx/src/bspdrv_ar12xxPriv.c index c58e0f8..e068e43 100755 --- a/src/devices/radar_ar12xx/src/bspdrv_ar12xxPriv.c +++ b/src/devices/radar_ar12xx/src/bspdrv_ar12xxPriv.c | |||
@@ -253,9 +253,10 @@ Int32 Bsp_ar12xxConfigChirp(UInt32 radarConfigIdx) | |||
253 | &sensorCfg->chirpCfgArgs[idx]); | 253 | &sensorCfg->chirpCfgArgs[idx]); |
254 | } | 254 | } |
255 | #else | 255 | #else |
256 | rlChirpCfg_t * chirpCfg = sensorCfg->chirpCfgArgs; | ||
256 | retVal = (Int32) rlSetMultiChirpCfg((rlUInt8_t)gBspAr12xxObj.devIdxMap, | 257 | retVal = (Int32) rlSetMultiChirpCfg((rlUInt8_t)gBspAr12xxObj.devIdxMap, |
257 | sensorCfg->numChirpCfgArgs, | 258 | sensorCfg->numChirpCfgArgs, |
258 | &sensorCfg->chirpCfgArgs); | 259 | &chirpCfg); |
259 | #endif | 260 | #endif |
260 | return retVal; | 261 | return retVal; |
261 | } | 262 | } |
@@ -318,10 +319,11 @@ Int32 Bsp_ar12xxConfigBpmChirp(UInt32 radarConfigIdx) | |||
318 | &sensorCfg->bpmChirpCfgArgs[idx]); | 319 | &sensorCfg->bpmChirpCfgArgs[idx]); |
319 | } | 320 | } |
320 | #else | 321 | #else |
322 | rlBpmChirpCfg_t* bpmChirpCfg = sensorCfg->bpmChirpCfgArgs; | ||
321 | /* Perform the bpm chirp configuration in one shot */ | 323 | /* Perform the bpm chirp configuration in one shot */ |
322 | retVal = (Int32) rlSetMultiBpmChirpConfig((rlUInt8_t)gBspAr12xxObj.devIdxMap, | 324 | retVal = (Int32) rlSetMultiBpmChirpConfig((rlUInt8_t)gBspAr12xxObj.devIdxMap, |
323 | sensorCfg->numBpmChirpCfgArgs, | 325 | sensorCfg->numBpmChirpCfgArgs, |
324 | &sensorCfg->bpmChirpCfgArgs); | 326 | &bpmChirpCfg); |
325 | #endif | 327 | #endif |
326 | return retVal; | 328 | return retVal; |
327 | } | 329 | } |