UncleRus / esp-idf-lib

Component library for ESP32-xx and ESP8266
https://esp-idf-lib.readthedocs.io/en/latest/
1.39k stars 433 forks source link

Encoder: Example panics #587

Closed omani closed 8 months ago

omani commented 9 months ago

The issue

file: "main.c"
expression: rotary_encoder_init(event_queue)
abort() was called at PC 0x402116bf on core 0

I just run the example. nothing else. and it panics already.

Which SDK are you using?

ESP8266 RTOS SDK

Which version of SDK are you using?

master

Which build target have you used?

Component causing the issue

encoder

Anything in the logs that might be useful for us?

No response

Additional information or context

No response

Confirmation

omani commented 9 months ago

mind you this is the example from this repo. nothing changed code-wise.

omani commented 9 months ago

I figured it's because of CONFIG_RE_INTERVAL_US. if set to default, nodemcu (esp8266) panics. 10000 us works. below that, it panics.