reporting in hd44780's ConnectionType functions (Thomas Jarosch)
This commit is contained in:
@@ -236,6 +236,10 @@ Daryl Fonseca-Holt
|
||||
Thien Vu
|
||||
- shuttleVFD driver
|
||||
|
||||
Thomas Jarosch
|
||||
- support reporting in hd44780's ConnectionType functions
|
||||
|
||||
|
||||
|
||||
Further developers in the sourceforge lcdproc team:
|
||||
Mindaugas Idzelis aim4min
|
||||
|
||||
@@ -38,6 +38,7 @@ v.0.5dev (ongoing development)
|
||||
* hd44780 driver: reorganize ConnectionType recognition
|
||||
+ hd44780 driver: new ConnectionType mplay
|
||||
+ hd44780 driver: get/set contrast & brightness support for lcd2usb (M. Dolze)
|
||||
+ hd44780 driver: reporting in ConnectionType functions (Thomas Jarosch)
|
||||
|
||||
v.0.5.2
|
||||
* fix switching on/off the Load screen in lcdproc client using the menu
|
||||
|
||||
@@ -170,6 +170,9 @@ typedef struct driver_private_data {
|
||||
typedef struct hwDependentFns {
|
||||
// microsec pauses
|
||||
void (*uPause)(PrivateData *p, int usecs);
|
||||
// report and debug helper
|
||||
void (*drv_report)(const int level, const char *format, .../*args*/);
|
||||
void (*drv_debug)(const int level, const char *format, .../*args*/);
|
||||
|
||||
// Senddata to the LCD
|
||||
// dispID - display to send data to (0 = all displays)
|
||||
|
||||
@@ -369,6 +369,8 @@ HD44780_init(Driver *drvthis)
|
||||
}
|
||||
// pre-set local function pointers (may be overridden by local init function)
|
||||
p->hd44780_functions->uPause = uPause;
|
||||
p->hd44780_functions->drv_report = report;
|
||||
p->hd44780_functions->drv_debug = debug;
|
||||
p->hd44780_functions->senddata = NULL;
|
||||
p->hd44780_functions->backlight = NULL;
|
||||
p->hd44780_functions->set_contrast = NULL;
|
||||
|
||||
Reference in New Issue
Block a user