Fix adc.readvdd33
Replace undocumented readvdd33 function with SDK function system_get_vdd33
This commit is contained in:
parent
340ef8fc0a
commit
5ab8de34e7
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue