Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update signalDecoder.cpp: Fix OOM crash caused by rtl_433_Decoder_Sta…
…ck 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.
- Loading branch information