Skip to content

ESP32: Interrupts do not get re-enabled #225

Description

@hajosc

It appears that at least gcc 14.2.1 does not call the class's ~InterruptLock() destructor and hence interrupts don't get re-enabled. I rely on interrupts for other functionality and they stop forever once a DHT read is triggered.

Either keeping interrupts on (my ISR is very short) or disabling (1x) & re-enabling (3x !!) interrupts in the read() function both work as expected.

This might also be the casue of #211.

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions