remove unused variables from OLED class

This commit is contained in:
Shawn Chain
2019-05-14 18:19:02 +08:00
parent ffd5cd1a0b
commit 814059ff35
4 changed files with 2 additions and 6 deletions

View File

@@ -570,7 +570,7 @@ CDisplay* CDisplay::createDisplay(const CConf& conf, CUMP* ump, CModem* modem)
bool scroll = conf.getOLEDScroll();
bool rotate = conf.getOLEDRotate();
display = new COLED(type, brightness, invert, scroll, rotate, conf.getDMRNetworkSlot1(), conf.getDMRNetworkSlot2(), modem);
display = new COLED(type, brightness, invert, scroll, rotate, conf.getDMRNetworkSlot1(), conf.getDMRNetworkSlot2());
#endif
} else if (type == "CAST") {
display = new CCASTInfo(modem);