harmonize backingstroe name with other drivers; don't force connection type
drivers to define nop-like functions for features they don't support
This commit is contained in:
@@ -50,8 +50,6 @@ hd_init_bwct_usb(Driver *drvthis)
|
||||
char serial[LCD_MAX_WIDTH+1] = DEFAULT_SERIALNO;
|
||||
|
||||
p->hd44780_functions->senddata = bwct_usb_HD44780_senddata;
|
||||
p->hd44780_functions->backlight = bwct_usb_HD44780_backlight;
|
||||
p->hd44780_functions->scankeypad = bwct_usb_HD44780_scankeypad;
|
||||
p->hd44780_functions->close = bwct_usb_HD44780_close;
|
||||
drvthis->set_contrast = bwct_usb_set_contrast;
|
||||
|
||||
@@ -189,19 +187,6 @@ int type = (flags == RS_DATA) ? BWCT_LCD_DATA : BWCT_LCD_CMD;
|
||||
}
|
||||
|
||||
|
||||
void
|
||||
bwct_usb_HD44780_backlight(PrivateData *p, unsigned char state)
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
unsigned char
|
||||
bwct_usb_HD44780_scankeypad(PrivateData *p)
|
||||
{
|
||||
return '\0';
|
||||
}
|
||||
|
||||
|
||||
void
|
||||
bwct_usb_HD44780_close(PrivateData *p)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user