Prusa3d Marlin fork
List of all members
LcdUpdateDisabler Class Reference

Helper class to temporarily disable LCD updates. More...

#include <lcd.h>

Detailed Description

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).


The documentation for this class was generated from the following file: