Remove the DoThisOnce family of functors. Realize that the if(wpb.pressed()) block occurs just once and so all DoThisOnce functionality can be moved there without the use of any static variables keeping track of state. Move UI changing and motor speed-setting once per case entry functionality to these blocks. Stop implementing Mode as a struct, since each whole struct takes up a lot of memory just for the sake of unnecessary modularity and prettification. Replace said prettification with a new changeUI(timeStr, instrucitonStr) function that fits our context perfectly and with 0 memory footprint. Return to implementing Mode as an enumeration. Fix some formatting. Add \`line\` enumeration for corresponding indices to UI elements.
Remove the DoThisOnce family of functors. Realize that the if(wpb.pressed()) block occurs just once and so all DoThisOnce functionality can be moved there without the use of any static variables keeping track of state. Move UI changing and motor speed-setting once per case entry functionality to these blocks. Stop implementing Mode as a struct, since each whole struct takes up a lot of memory just for the sake of unnecessary modularity and prettification. Replace said prettification with a new changeUI(timeStr, instrucitonStr) function that fits our context perfectly and with 0 memory footprint. Return to implementing Mode as an enumeration. Fix some formatting. Add \`line\` enumeration for corresponding indices to UI elements.

karinassuni/dremelfuge