Prusa3d Marlin fork
|
Helper class to temporarily disable LCD updates. More...
#include <lcd.h>
When constructed (on stack), original state state of lcd_update_enabled is stored and LCD updates are disabled. When destroyed (gone out of scope), original state of LCD update is restored. It has zero overhead compared to storing bool saved = lcd_update_enabled and calling lcd_update_enable(false) and lcd_update_enable(saved).