- update drivers to use new API

(get rid of those pseudo options named 'Arguments' in the config file)
- replace printf / printf calls by debug / report calls in some drivers
- sort and extend LCDd.conf
This commit is contained in:
marschap
2005-01-29 18:49:29 +00:00
parent c82e37cd70
commit b3230cf90f
34 changed files with 550 additions and 946 deletions
+5 -11
View File
@@ -190,9 +190,7 @@ text_chr (Driver *drvthis, int x, int y, char c)
MODULE_EXPORT void
text_set_contrast (Driver *drvthis, int promille)
{
/*
printf("Contrast: %d\n", promille);
*/
debug(RPT_DEBUG, "Contrast: %d\n", promille);
}
/////////////////////////////////////////////////////////////////
@@ -203,15 +201,11 @@ text_backlight (Driver *drvthis, int on)
{
//PrivateData * p = (PrivateData*) drvthis->private_data;
/*
if(on)
{
printf("Backlight ON\n");
if(on) {
debug(RPT_DEBUG, "Backlight ON\n");
}
else
{
printf("Backlight OFF\n");
else {
debug(RPT_DEBUG, "Backlight OFF\n");
}
*/
}