Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

lua module ds18b20: fixed missing forward declaration #2975

Conversation

glumanda
Copy link
Contributor

@glumanda glumanda commented Dec 3, 2019

I had a runtime excpetion using the lua ds18b20 module. The cobersion function is used before it was declared. So i introduced a forward/deferred declaration for the conversion function before first usage,

Make sure all boxes are checked (add x inside the brackets) when you submit your contribution, remove this sentence before doing so.

  • This PR is for the dev branch rather than for master.
  • This PR is compliant with the other contributing guidelines as well (if not, please describe why).
  • I have thoroughly tested my contribution.
  • The code changes are reflected in the documentation at docs/*.

<Description of and rationale behind this PR>

@marcelstoer marcelstoer added this to the Next release milestone Dec 4, 2019
@nwf
Copy link
Member

nwf commented Dec 9, 2019

👍

@marcelstoer marcelstoer merged commit d84da36 into nodemcu:dev Dec 13, 2019
vsky279 pushed a commit to vsky279/nodemcu-firmware that referenced this pull request Dec 27, 2019
marcelstoer pushed a commit that referenced this pull request Jun 9, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants