emdashes begone (#10847)
This commit is contained in:
276 files changed
+1795
-1793
No files matched your search
@@ -536,7 +536,7 @@ class LGFX : public lgfx::LGFX_Device
|
||||
cfg.memory_width = 240;
|
||||
cfg.memory_height = 320;
|
||||
cfg.offset_x = 0;
|
||||
cfg.offset_y = 0; // No vertical shift needed — panel is top-aligned
|
||||
cfg.offset_y = 0; // No vertical shift needed - panel is top-aligned
|
||||
cfg.offset_rotation = 2; // Rotate 180° to correct upside-down layout
|
||||
#else
|
||||
cfg.memory_width = TFT_WIDTH; // Maximum width supported by the driver IC
|
||||
@@ -1144,8 +1144,8 @@ static LGFX *tft = nullptr;
|
||||
|
||||
#elif defined(VARIANT_DISPLAY_DRIVER)
|
||||
// Board-specific framebuffer backends (class LGFX) can livee in the
|
||||
// variant files — variant_display.h (declaration) and
|
||||
// variant_display.cpp (bodies) — so this shared
|
||||
// variant files - variant_display.h (declaration) and
|
||||
// variant_display.cpp (bodies) - so this shared
|
||||
// file isn't inflated for a single board. It exposes the same surface TFTDisplay
|
||||
// drives, so the generic `tft = new LGFX;` in connect() works.
|
||||
#include "variant_display.h"
|
||||
|
||||
Reference in New Issue
Block a user