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
214be162
"bin/esp_init_data_default.bin" did not exist on "152107feab71406cc807c04e4e339696bdfcc739"
Commit
214be162
authored
Mar 16, 2017
by
Arnim Läuger
Committed by
devsaurus
Mar 17, 2017
Browse files
Fix self.pin when specifying lpin for readTemp() (#1865)
parent
784fefeb
Changes
1
Show whitespace changes
Inline
Side-by-side
lua_modules/ds18b20/ds18b20.lua
View file @
214be162
...
...
@@ -29,10 +29,10 @@ return({
end
,
readTemp
=
function
(
self
,
cb
,
lpin
)
if
lpin
then
self
.
pin
=
lpin
end
local
pin
=
self
.
pin
self
.
cb
=
cb
self
.
temp
=
{}
if
lpin
then
pin
=
lpin
end
ow
.
setup
(
pin
)
self
.
sens
=
{}
...
...
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