From 86f0a7307fe9c0b1dc2306701db3ac0db4fcdd4a Mon Sep 17 00:00:00 2001 From: HuangRui Date: Mon, 16 Feb 2015 13:08:37 +0800 Subject: [PATCH] Roll back system_get_vdd33 to readvdd33. Bug not fixed in this version =( --- app/modules/node.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/modules/node.c b/app/modules/node.c index f9c4b484..62f31e80 100644 --- a/app/modules/node.c +++ b/app/modules/node.c @@ -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; }