void drv_PICGraphic_delay(void *arg)
{
+ (void)arg;
delayDone = 1;
debug("delay done");
}
drv_PICGraphic_send(fbPG, DROWS * DCOLS / 8);
usleep(20000);
// wait for reception of confirmation code
- status = drv_PICGraphic_recv(cmd, 2, "ff");
+ status = drv_PICGraphic_recv((char *) cmd, 2, "ff");
if (!status) {
info("received ff from device");
} else {
{
char *s;
char cmd[2];
- int contrast, status, bytes = 0, tick, tack;
+ int contrast, status, tick, tack;
/* read display size from config */
s = cfg_get(section, "Size", NULL);
#DBus
if test "$PLUGIN_DBUS" = "yes"; then
- PKG_CHECK_MODULES(DBUS, dbus-1)
- if test "x$DBUS_LIBS" != "x"; then
+ PKG_CHECK_MODULES(DBUS, dbus-1, dbus-1 >= 1.0, HAVE_DBUS="yes", HAVE_DBUS="no")
+ if test "x$HAVE_DBUS" != "xyes"; then
PLUGINS="$PLUGINS plugin_dbus.o"
PLUGINLIBS="$PLUGINLIBS $DBUS_LIBS"
CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"