Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ruanhaishen
Nodemcu Firmware
Commits
5ab8de34
Commit
5ab8de34
authored
Oct 17, 2015
by
aeprox
Browse files
Fix adc.readvdd33
Replace undocumented readvdd33 function with SDK function system_get_vdd33
parent
340ef8fc
Changes
1
Hide whitespace changes
Inline
Side-by-side
app/modules/adc.c
View file @
5ab8de34
...
@@ -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
=
read
vdd33
();
vdd33
=
system_get_
vdd33
();
}
}
}
}
else
else
{
{
vdd33
=
read
vdd33
();
vdd33
=
system_get_
vdd33
();
}
}
lua_pushinteger
(
L
,
vdd33
);
lua_pushinteger
(
L
,
vdd33
);
return
1
;
return
1
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment