Skip to content

Commit 1938f12

Browse files
thinkyheaddbuezas
andcommitted
✨ LCD_DOUBLE_BUFFER
MarlinFirmware/Marlin#26713 Co-Authored-By: David Buezas <777196+dbuezas@users.noreply.github.com>
1 parent e52d87b commit 1938f12

380 files changed

Lines changed: 1520 additions & 0 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

config/default/Configuration_adv.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1619,6 +1619,10 @@
16191619
//#define SOUND_MENU_ITEM // Add a mute option to the LCD menu
16201620
#define SOUND_ON_DEFAULT // Buzzer/speaker default enabled state
16211621

1622+
#if ENABLED(U8GLIB_SSD1309)
1623+
//#define LCD_DOUBLE_BUFFER // Optimize display updates. Costs ~1K of SRAM.
1624+
#endif
1625+
16221626
#if HAS_WIRED_LCD
16231627
//#define DOUBLE_LCD_FRAMERATE // Not recommended for slow boards.
16241628
#endif

config/examples/3DFabXYZ/Migbot/Configuration_adv.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1619,6 +1619,10 @@
16191619
//#define SOUND_MENU_ITEM // Add a mute option to the LCD menu
16201620
#define SOUND_ON_DEFAULT // Buzzer/speaker default enabled state
16211621

1622+
#if ENABLED(U8GLIB_SSD1309)
1623+
//#define LCD_DOUBLE_BUFFER // Optimize display updates. Costs ~1K of SRAM.
1624+
#endif
1625+
16221626
#if HAS_WIRED_LCD
16231627
//#define DOUBLE_LCD_FRAMERATE // Not recommended for slow boards.
16241628
#endif

config/examples/3DMatik/XL/Configuration_adv.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1619,6 +1619,10 @@
16191619
//#define SOUND_MENU_ITEM // Add a mute option to the LCD menu
16201620
#define SOUND_ON_DEFAULT // Buzzer/speaker default enabled state
16211621

1622+
#if ENABLED(U8GLIB_SSD1309)
1623+
//#define LCD_DOUBLE_BUFFER // Optimize display updates. Costs ~1K of SRAM.
1624+
#endif
1625+
16221626
#if HAS_WIRED_LCD
16231627
//#define DOUBLE_LCD_FRAMERATE // Not recommended for slow boards.
16241628
#endif

config/examples/ADIMLab/Gantry v1/Configuration_adv.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1619,6 +1619,10 @@
16191619
//#define SOUND_MENU_ITEM // Add a mute option to the LCD menu
16201620
#define SOUND_ON_DEFAULT // Buzzer/speaker default enabled state
16211621

1622+
#if ENABLED(U8GLIB_SSD1309)
1623+
//#define LCD_DOUBLE_BUFFER // Optimize display updates. Costs ~1K of SRAM.
1624+
#endif
1625+
16221626
#if HAS_WIRED_LCD
16231627
//#define DOUBLE_LCD_FRAMERATE // Not recommended for slow boards.
16241628
#endif

config/examples/ADIMLab/Gantry v2/Configuration_adv.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1619,6 +1619,10 @@
16191619
//#define SOUND_MENU_ITEM // Add a mute option to the LCD menu
16201620
#define SOUND_ON_DEFAULT // Buzzer/speaker default enabled state
16211621

1622+
#if ENABLED(U8GLIB_SSD1309)
1623+
//#define LCD_DOUBLE_BUFFER // Optimize display updates. Costs ~1K of SRAM.
1624+
#endif
1625+
16221626
#if HAS_WIRED_LCD
16231627
//#define DOUBLE_LCD_FRAMERATE // Not recommended for slow boards.
16241628
#endif

config/examples/Alfawise/U20-bltouch/Configuration_adv.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1628,6 +1628,10 @@
16281628
//#define SOUND_MENU_ITEM // Add a mute option to the LCD menu
16291629
#define SOUND_ON_DEFAULT // Buzzer/speaker default enabled state
16301630

1631+
#if ENABLED(U8GLIB_SSD1309)
1632+
//#define LCD_DOUBLE_BUFFER // Optimize display updates. Costs ~1K of SRAM.
1633+
#endif
1634+
16311635
#if HAS_WIRED_LCD
16321636
//#define DOUBLE_LCD_FRAMERATE // Not recommended for slow boards.
16331637
#endif

config/examples/Alfawise/U20/Configuration_adv.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1619,6 +1619,10 @@
16191619
//#define SOUND_MENU_ITEM // Add a mute option to the LCD menu
16201620
#define SOUND_ON_DEFAULT // Buzzer/speaker default enabled state
16211621

1622+
#if ENABLED(U8GLIB_SSD1309)
1623+
//#define LCD_DOUBLE_BUFFER // Optimize display updates. Costs ~1K of SRAM.
1624+
#endif
1625+
16221626
#if HAS_WIRED_LCD
16231627
//#define DOUBLE_LCD_FRAMERATE // Not recommended for slow boards.
16241628
#endif

config/examples/AliExpress/CL-260/Configuration_adv.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1619,6 +1619,10 @@
16191619
//#define SOUND_MENU_ITEM // Add a mute option to the LCD menu
16201620
#define SOUND_ON_DEFAULT // Buzzer/speaker default enabled state
16211621

1622+
#if ENABLED(U8GLIB_SSD1309)
1623+
//#define LCD_DOUBLE_BUFFER // Optimize display updates. Costs ~1K of SRAM.
1624+
#endif
1625+
16221626
#if HAS_WIRED_LCD
16231627
//#define DOUBLE_LCD_FRAMERATE // Not recommended for slow boards.
16241628
#endif

config/examples/AliExpress/UM2pExt/Configuration_adv.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1619,6 +1619,10 @@
16191619
//#define SOUND_MENU_ITEM // Add a mute option to the LCD menu
16201620
#define SOUND_ON_DEFAULT // Buzzer/speaker default enabled state
16211621

1622+
#if ENABLED(U8GLIB_SSD1309)
1623+
//#define LCD_DOUBLE_BUFFER // Optimize display updates. Costs ~1K of SRAM.
1624+
#endif
1625+
16221626
#if HAS_WIRED_LCD
16231627
//#define DOUBLE_LCD_FRAMERATE // Not recommended for slow boards.
16241628
#endif

config/examples/Anet/A2/Configuration_adv.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1619,6 +1619,10 @@
16191619
//#define SOUND_MENU_ITEM // Add a mute option to the LCD menu
16201620
#define SOUND_ON_DEFAULT // Buzzer/speaker default enabled state
16211621

1622+
#if ENABLED(U8GLIB_SSD1309)
1623+
//#define LCD_DOUBLE_BUFFER // Optimize display updates. Costs ~1K of SRAM.
1624+
#endif
1625+
16221626
#if HAS_WIRED_LCD
16231627
//#define DOUBLE_LCD_FRAMERATE // Not recommended for slow boards.
16241628
#endif

0 commit comments

Comments
 (0)