Open cpu mc60 sdkv1.7

I tried to get the battery level with the following command

	ret=RIL_GetPowerSupply(bat_cap,bat_vol);
	 APP_DEBUG("<RIL_GetPowerSupply=%d -->\r\n", ret);

But whenever I use this command, the module hangs

Hi
I think there is something wrong with your parameters, please refer to:
u32 bat_cap,bat_vol;
ret=RIL_GetPowerSupply(&bat_cap,&bat_vol);
APP_DEBUG(ā€œ<RIL_GetPowerSupply=%d → \r\nā€, ret);