You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Update signalDecoder.cpp: Fix OOM crash caused by rtl_433_Decoder_Stack to small on Lilygo Lora device (#156)
This fixes the crash caused by OOM when low water mark on rtl_433_Decder_Stack drops below 0.
(See: 1technophile/OpenMQTTGateway#2043)
I increased the memory size by 1500 which after running for a week on 2 different Lilygo Lora ESP32 devices leaves the water mark at just over 1KB -- I want to leave a little spare in case there are other sensor configurations and edge cases that would dip further into the stack.
I also wrapped the definitions of `rtl_433_Decoder_stack` with `ifndef rtl_433_Decoder_Stack` so that users can easily manually tweak the allocated stack size for their own particular situations.
0 commit comments