mirror of
https://github.com/g4klx/MMDVMHost.git
synced 2026-04-04 14:07:36 +00:00
Change HD44780 define from RASPBERRY_PI to HD44780.
This commit is contained in:
parent
c698cfb887
commit
bf92e1013c
2 changed files with 3 additions and 3 deletions
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue