Commit 86f0a730 authored by HuangRui's avatar HuangRui
Browse files

Roll back system_get_vdd33 to readvdd33.

Bug not fixed in this version =(
parent 13b10117
......@@ -95,7 +95,8 @@ static int node_chipid( lua_State* L )
// Lua: readvdd33()
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);
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