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

User exception (panic/abort/assert) DHTSensor.h #2609

Closed
amarendrapramanik opened this issue Jun 22, 2024 · 0 comments
Closed

User exception (panic/abort/assert) DHTSensor.h #2609

amarendrapramanik opened this issue Jun 22, 2024 · 0 comments

Comments

@amarendrapramanik
Copy link

Device

ESP8266

Version

1.16.0-dev

Bug description

Inside _read() at line 220 its just returning without reenabling interrupt.
_error = SENSOR_ERROR_TIMEOUT;
return;

As a result, the program become unstable with User exception (panic/abort/assert)

Steps to reproduce

  1. Add any of the DHT sensors.
  2. Disconnect the data pin or
  3. Configure wrong pin for #define DHT_PIN.

Build tools used

No response

Any relevant log output (when available)

[006028] [SENSOR] Could not read from DHT11 @ GPIO5 (Timeout)

User exception (panic/abort/assert)
--------------- CUT HERE FOR EXCEPTION DECODER ---------------

Panic core_esp8266_main.cpp:133 __yield

>>>stack>>>

ctx: cont
sp: 3ffffe70 end: 3fffffc0 offset: 0000

Decoded stack trace (when available)

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants