WellDone/MoMo-Firmware — pull request #115 by timburke (2014-08-04 02:34:33+00:00)
Title: Fix bugs in MoMo reporting firmware

Major issue was that the debug log flush event was causing post_report to be double scheduled, leading to two post_report tasks running in parallel and interfering with each other / destroying everything. This is because flush_log scheduled itself with a 0.5 second delay meaning that it ran in the same second as post_report if post_report finished quickly. Since the seconds matched, the RTCC would schedule post_report again leading to it being scheduled twice in tandem. There were other off by one errors and issues with module iteration that I believe are fixed now but I'm not sure if they were causing any harm.

MoMo is currently reporting with a 1 minute interval and seems to be doing fine.