cc13x2_cc26x2: drivers: fix build warnings in PowerCC26X2.c

Fixing build warnings that are seen as an extra pair of braces is
missing around the initializer for a structure which first field
is another structure.

Signed-off-by: Vincent Wan <vincent.wan@linaro.org>
This commit is contained in:
Vincent Wan 2020-05-01 17:21:20 -07:00 committed by Kumar Gala
parent 73a56862dd
commit c398cc7959
1 changed files with 1 additions and 1 deletions

View File

@ -104,7 +104,7 @@ PowerCC26X2_ModuleState PowerCC26X2_module = {
.tcxoEnableClock = {0}, /* Clock object for TCXO startup */
.tdcHwi = {0}, /* hwi object for calibration */
.oscHwi = {0}, /* hwi object for oscillators */
.hposcRtcCompNotifyObj = {0}, /* Temperature notification */
.hposcRtcCompNotifyObj = {{0}}, /* Temperature notification */
.nDeltaFreqCurr = 0, /* RCOSC calibration variable */
.nCtrimCurr = 0, /* RCOSC calibration variable */
.nCtrimFractCurr = 0, /* RCOSC calibration variable */