docs: fix misspelling across the tree

Found a few annoying typos and figured I better run script and
fix anything it can find, here are the results...

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
This commit is contained in:
Anas Nashif 2019-06-18 14:45:40 -04:00 committed by Maureen Helm
commit f2cb20c772
133 changed files with 191 additions and 191 deletions

View file

@ -26,7 +26,7 @@
#define ILI9340_CMD_POWER_CTRL_2 0xC1
#define ILI9340_CMD_VCOM_CTRL_1 0xC5
#define ILI9340_CMD_VCOM_CTRL_2 0xC7
#define ILI9340_CMD_POSITVE_GAMMA_CORRECTION 0xE0
#define ILI9340_CMD_POSITIVE_GAMMA_CORRECTION 0xE0
#define ILI9340_CMD_NEGATIVE_GAMMA_CORRECTION 0xE1
#define ILI9341_CMD_POWER_CTRL_A 0xCB

View file

@ -63,7 +63,7 @@ void ili9340_lcd_init(struct ili9340_data *data)
tx_data[12] = 0x0E;
tx_data[13] = 0x09;
tx_data[14] = 0x00;
ili9340_transmit(data, ILI9340_CMD_POSITVE_GAMMA_CORRECTION, tx_data,
ili9340_transmit(data, ILI9340_CMD_POSITIVE_GAMMA_CORRECTION, tx_data,
15);
tx_data[0] = 0x00;

View file

@ -125,7 +125,7 @@ void ili9340_lcd_init(struct ili9340_data *p_ili9340)
ili9340_transmit(p_ili9340, cmd, data, 1);
/* Positive Gamma Correction */
cmd = ILI9340_CMD_POSITVE_GAMMA_CORRECTION;
cmd = ILI9340_CMD_POSITIVE_GAMMA_CORRECTION;
data[0] = 0x0FU;
data[1] = 0x2AU;
data[2] = 0x28U;