Commit 5ab8de34 authored by aeprox's avatar aeprox
Browse files

Fix adc.readvdd33

Replace undocumented readvdd33 function with SDK function system_get_vdd33
parent 340ef8fc
...@@ -34,12 +34,12 @@ static int adc_readvdd33( lua_State* L ) ...@@ -34,12 +34,12 @@ static int adc_readvdd33( lua_State* L )
} }
else else
{ {
vdd33 = readvdd33(); vdd33 = system_get_vdd33();
} }
} }
else else
{ {
vdd33 = readvdd33(); vdd33 = system_get_vdd33();
} }
lua_pushinteger(L, vdd33); lua_pushinteger(L, vdd33);
return 1; return 1;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment