mirror of
				https://github.com/esphome/esphome.git
				synced 2025-10-31 07:03:55 +00:00 
			
		
		
		
	Fix a bunch of typos (#2058)
Co-authored-by: Stefan Agner <stefan@agner.ch> Co-authored-by: Otto Winter <otto@otto-winter.com> Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
This commit is contained in:
		| @@ -19,13 +19,13 @@ static const uint8_t ST7789_RDDMADCTL = 0x0B;  // Read Display MADCTL | ||||
| static const uint8_t ST7789_RDDCOLMOD = 0x0C;  // Read Display Pixel Format | ||||
| static const uint8_t ST7789_RDDIM = 0x0D;      // Read Display Image Mode | ||||
| static const uint8_t ST7789_RDDSM = 0x0E;      // Read Display Signal Mod | ||||
| static const uint8_t ST7789_RDDSDR = 0x0F;     // Read Display Self-Diagnostic Resul | ||||
| static const uint8_t ST7789_RDDSDR = 0x0F;     // Read Display Self-Diagnostic Result | ||||
| static const uint8_t ST7789_SLPIN = 0x10;      // Sleep in | ||||
| static const uint8_t ST7789_SLPOUT = 0x11;     // Sleep Out | ||||
| static const uint8_t ST7789_PTLON = 0x12;      // Partial Display Mode O | ||||
| static const uint8_t ST7789_NORON = 0x13;      // Normal Display Mode O | ||||
| static const uint8_t ST7789_PTLON = 0x12;      // Partial Display Mode On | ||||
| static const uint8_t ST7789_NORON = 0x13;      // Normal Display Mode On | ||||
| static const uint8_t ST7789_INVOFF = 0x20;     // Display Inversion Off | ||||
| static const uint8_t ST7789_INVON = 0x21;      // Display Inversion O | ||||
| static const uint8_t ST7789_INVON = 0x21;      // Display Inversion On | ||||
| static const uint8_t ST7789_GAMSET = 0x26;     // Gamma Set | ||||
| static const uint8_t ST7789_DISPOFF = 0x28;    // Display Off | ||||
| static const uint8_t ST7789_DISPON = 0x29;     // Display On | ||||
| @@ -34,18 +34,18 @@ static const uint8_t ST7789_RASET = 0x2B;      // Row Address Set | ||||
| static const uint8_t ST7789_RAMWR = 0x2C;      // Memory Write | ||||
| static const uint8_t ST7789_RAMRD = 0x2E;      // Memory Read | ||||
| static const uint8_t ST7789_PTLAR = 0x30;      // Partial Area | ||||
| static const uint8_t ST7789_VSCRDEF = 0x33;    // Vertical Scrolling Definitio | ||||
| static const uint8_t ST7789_TEOFF = 0x34;      // Tearing Effect Line OFF | ||||
| static const uint8_t ST7789_VSCRDEF = 0x33;    // Vertical Scrolling Definition | ||||
| static const uint8_t ST7789_TEOFF = 0x34;      // Tearing Effect Line Off | ||||
| static const uint8_t ST7789_TEON = 0x35;       // Tearing Effect Line On | ||||
| static const uint8_t ST7789_MADCTL = 0x36;     // Memory Data Access Control | ||||
| static const uint8_t ST7789_VSCSAD = 0x37;     // Vertical Scroll Start Address of RAM | ||||
| static const uint8_t ST7789_IDMOFF = 0x38;     // Idle Mode Off | ||||
| static const uint8_t ST7789_IDMON = 0x39;      // Idle mode on | ||||
| static const uint8_t ST7789_IDMON = 0x39;      // Idle Mode On | ||||
| static const uint8_t ST7789_COLMOD = 0x3A;     // Interface Pixel Format | ||||
| static const uint8_t ST7789_WRMEMC = 0x3C;     // Write Memory Continue | ||||
| static const uint8_t ST7789_RDMEMC = 0x3E;     // Read Memory Continue | ||||
| static const uint8_t ST7789_STE = 0x44;        // Set Tear Scanline | ||||
| static const uint8_t ST7789_GSCAN = 0x45;      // Get Scanlin | ||||
| static const uint8_t ST7789_GSCAN = 0x45;      // Get Scanline | ||||
| static const uint8_t ST7789_WRDISBV = 0x51;    // Write Display Brightness | ||||
| static const uint8_t ST7789_RDDISBV = 0x52;    // Read Display Brightness Value | ||||
| static const uint8_t ST7789_WRCTRLD = 0x53;    // Write CTRL Display | ||||
| @@ -59,17 +59,17 @@ static const uint8_t ST7789_RDID1 = 0xDA;      // Read ID1 | ||||
| static const uint8_t ST7789_RDID2 = 0xDB;      // Read ID2 | ||||
| static const uint8_t ST7789_RDID3 = 0xDC;      // Read ID3 | ||||
| static const uint8_t ST7789_RAMCTRL = 0xB0;    // RAM Control | ||||
| static const uint8_t ST7789_RGBCTRL = 0xB1;    // RGB Interface Contro | ||||
| static const uint8_t ST7789_RGBCTRL = 0xB1;    // RGB Interface Control | ||||
| static const uint8_t ST7789_PORCTRL = 0xB2;    // Porch Setting | ||||
| static const uint8_t ST7789_FRCTRL1 = 0xB3;    // Frame Rate Control 1 (In partial mode/ idle colors) | ||||
| static const uint8_t ST7789_PARCTRL = 0xB5;    // Partial mode Contro | ||||
| static const uint8_t ST7789_GCTRL = 0xB7;      // Gate Contro | ||||
| static const uint8_t ST7789_GTADJ = 0xB8;      // Gate On Timing Adjustmen | ||||
| static const uint8_t ST7789_PARCTRL = 0xB5;    // Partial mode Control | ||||
| static const uint8_t ST7789_GCTRL = 0xB7;      // Gate Control | ||||
| static const uint8_t ST7789_GTADJ = 0xB8;      // Gate On Timing Adjustment | ||||
| static const uint8_t ST7789_DGMEN = 0xBA;      // Digital Gamma Enable | ||||
| static const uint8_t ST7789_VCOMS = 0xBB;      // VCOMS Setting | ||||
| static const uint8_t ST7789_LCMCTRL = 0xC0;    // LCM Control | ||||
| static const uint8_t ST7789_IDSET = 0xC1;      // ID Code Settin | ||||
| static const uint8_t ST7789_VDVVRHEN = 0xC2;   // VDV and VRH Command Enabl | ||||
| static const uint8_t ST7789_IDSET = 0xC1;      // ID Code Setting | ||||
| static const uint8_t ST7789_VDVVRHEN = 0xC2;   // VDV and VRH Command Enable | ||||
| static const uint8_t ST7789_VRHS = 0xC3;       // VRH Set | ||||
| static const uint8_t ST7789_VDVS = 0xC4;       // VDV Set | ||||
| static const uint8_t ST7789_VCMOFSET = 0xC5;   // VCOMS Offset Set | ||||
| @@ -89,8 +89,8 @@ static const uint8_t ST7789_GATECTRL = 0xE4;   // Gate Control | ||||
| static const uint8_t ST7789_SPI2EN = 0xE7;     // SPI2 Enable | ||||
| static const uint8_t ST7789_PWCTRL2 = 0xE8;    // Power Control 2 | ||||
| static const uint8_t ST7789_EQCTRL = 0xE9;     // Equalize time control | ||||
| static const uint8_t ST7789_PROMCTRL = 0xEC;   // Program Mode Contro | ||||
| static const uint8_t ST7789_PROMEN = 0xFA;     // Program Mode Enabl | ||||
| static const uint8_t ST7789_PROMCTRL = 0xEC;   // Program Mode Control | ||||
| static const uint8_t ST7789_PROMEN = 0xFA;     // Program Mode Enable | ||||
| static const uint8_t ST7789_NVMSET = 0xFC;     // NVM Setting | ||||
| static const uint8_t ST7789_PROMACT = 0xFE;    // Program action | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user