mirror of
https://github.com/yuri91/ili9341-rs.git
synced 2024-11-22 06:40:59 +00:00
Remove gamma set command, 0x01 is the default
This commit is contained in:
parent
bc1282b0ca
commit
780a5f0c25
1 changed files with 0 additions and 2 deletions
|
@ -110,7 +110,6 @@ where
|
||||||
|
|
||||||
ili9341.command(Command::MemoryAccessControl, &[0x48])?;
|
ili9341.command(Command::MemoryAccessControl, &[0x48])?;
|
||||||
ili9341.command(Command::PixelFormatSet, &[0x55])?;
|
ili9341.command(Command::PixelFormatSet, &[0x55])?;
|
||||||
ili9341.command(Command::GammaSet, &[0x01])?;
|
|
||||||
|
|
||||||
ili9341.command(Command::SleepOut, &[])?;
|
ili9341.command(Command::SleepOut, &[])?;
|
||||||
|
|
||||||
|
@ -247,7 +246,6 @@ enum Command {
|
||||||
SoftwareReset = 0x01,
|
SoftwareReset = 0x01,
|
||||||
MemoryAccessControl = 0x36,
|
MemoryAccessControl = 0x36,
|
||||||
PixelFormatSet = 0x3a,
|
PixelFormatSet = 0x3a,
|
||||||
GammaSet = 0x26,
|
|
||||||
SleepOut = 0x11,
|
SleepOut = 0x11,
|
||||||
DisplayOn = 0x29,
|
DisplayOn = 0x29,
|
||||||
ColumnAddressSet = 0x2a,
|
ColumnAddressSet = 0x2a,
|
||||||
|
|
Loading…
Reference in a new issue