Change HD44780 define from RASPBERRY_PI to HD44780.

This commit is contained in:
Jonathan Naylor
2016-03-15 07:53:38 +00:00
parent c698cfb887
commit bf92e1013c
2 changed files with 3 additions and 3 deletions

View File

@@ -27,7 +27,7 @@
#include "NullDisplay.h"
#include "YSFControl.h"
#if defined(RASPBERRY_PI)
#if defined(HD44780)
#include "HD44780.h"
#endif
@@ -550,7 +550,7 @@ void CMMDVMHost::createDisplay()
LogInfo(" Brightness: %u", brightness);
m_display = new CTFTSerial(port, brightness);
#if defined(RASPBERRY_PI)
#if defined(HD44780)
} else if (type == "HD44780") {
unsigned int rows = m_conf.getHD44780Rows();
unsigned int columns = m_conf.getHD44780Columns();