Fix adc.readvdd33

Replace undocumented readvdd33 function with SDK function system_get_vdd33
This commit is contained in:
aeprox 2015-10-17 15:47:17 +02:00
parent 340ef8fc0a
commit 5ab8de34e7
1 changed files with 2 additions and 2 deletions

View File

@ -34,12 +34,12 @@ static int adc_readvdd33( lua_State* L )
}
else
{
vdd33 = readvdd33();
vdd33 = system_get_vdd33();
}
}
else
{
vdd33 = readvdd33();
vdd33 = system_get_vdd33();
}
lua_pushinteger(L, vdd33);
return 1;