mirror of
https://github.com/nodemcu/nodemcu-firmware.git
synced 2025-01-30 21:12:55 +08:00
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()
|
||||
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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user