Skip to content

Commit 965bc05

Browse files
nxp-wei-fengmmahadevan108
authored andcommitted
Fix armgcc build warning in power driver
Signed-off-by: Feng Wei <[email protected]>
1 parent ba6f9fb commit 965bc05

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

mcux/mcux-sdk-ng/devices/Wireless/RW/RW610/drivers/fsl_power.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1421,7 +1421,8 @@ bool POWER_EnableGDetVSensors(void)
14211421
uint32_t POWER_TrimSvc(uint32_t gdetTrim, uint32_t pack)
14221422
{
14231423
int32_t x;
1424-
int32_t y1, y3;
1424+
int32_t y1;
1425+
int32_t y3 = 0;
14251426
uint32_t trimSvc = gdetTrim;
14261427
uint32_t clk;
14271428
uint32_t rst;

mcux/mcux-sdk-ng/devices/Wireless/RW/RW612/drivers/fsl_power.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1421,7 +1421,8 @@ bool POWER_EnableGDetVSensors(void)
14211421
uint32_t POWER_TrimSvc(uint32_t gdetTrim, uint32_t pack)
14221422
{
14231423
int32_t x;
1424-
int32_t y1, y3;
1424+
int32_t y1;
1425+
int32_t y3 = 0;
14251426
uint32_t trimSvc = gdetTrim;
14261427
uint32_t clk;
14271428
uint32_t rst;

0 commit comments

Comments
 (0)