Roll back system_get_vdd33 to readvdd33.
Bug not fixed in this version =(
This commit is contained in:
parent
13b1011702
commit
86f0a7307f
|
@ -95,7 +95,8 @@ static int node_chipid( lua_State* L )
|
||||||
// Lua: readvdd33()
|
// Lua: readvdd33()
|
||||||
static int node_readvdd33( lua_State* L )
|
static int node_readvdd33( lua_State* L )
|
||||||
{
|
{
|
||||||
uint32_t vdd33 = system_get_vdd33();
|
// uint32_t vdd33 = system_get_vdd33();
|
||||||
|
uint32_t vdd33 = readvdd33();
|
||||||
lua_pushinteger(L, vdd33);
|
lua_pushinteger(L, vdd33);
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue