moved ssd1306 logic to options.cpp
This commit is contained in:
parent
b101e8f635
commit
02f19df0cf
1 changed files with 1 additions and 6 deletions
|
@ -358,12 +358,7 @@ void InitialiseLCD()
|
|||
int i2cLcdOnContrast = options.I2CLcdOnContrast();
|
||||
int i2cLcdDimContrast = options.I2CLcdDimContrast();
|
||||
int i2cLcdDimTime = options.I2CLcdDimTime();
|
||||
|
||||
int i2cLcdModel = 0;
|
||||
if (strcasecmp(options.GetLCDName(), "ssd1306_128x64") == 0)
|
||||
i2cLcdModel = 1306;
|
||||
else if (strcasecmp(options.GetLCDName(), "sh1106_128x64") == 0)
|
||||
i2cLcdModel = 1106;
|
||||
int i2cLcdModel = options.I2CLcdModel();
|
||||
|
||||
if (i2cLcdModel)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue