UncleRus/esp-idf-lib

Encoder: Example panics

omani opened this issue · 2 comments

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?

  • esp32
  • esp32s2
  • esp32s3
  • esp32c2
  • esp8266
  • other

Component causing the issue

encoder

Anything in the logs that might be useful for us?

No response

Additional information or context

No response

Confirmation

  • This report is not a question nor a request for drivers.

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

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