OpenSprinkler › Forums › OpenSprinkler Unified Firmware › problems on first regularly scheduled programs after FW 2.1.0 update › Reply To: problems on first regularly scheduled programs after FW 2.1.0 update
Just a quick update: I have found the cause of the issue: the logging function checks if the LOGS subfolder exists, and if so, it will attempt to create that subfolder. However, because the firmware is already using quite a lot of RAM (the microcontroller only has 4KB RAM), occasionally creating the subfolder exceeds the RAM limit, causing the controller to restart and not finishing the schedule.
I’ve adjusted some buffer sizes, and also pulled the subfolder checking and creation function out of the logging function, and the issue seems to have been resolved. The fix will be included in the next firmware update, which we are targeting to release this week. Thanks for your patience.