fix AM_CCFLAGS in server/drivers/Makefile.am

fix *bar() functions in imon driver found by Peter Wyss <peter@wyss.id.au>
This commit is contained in:
marschap
2006-01-15 20:46:13 +00:00
parent b43e0c8902
commit 7bb8383c01
2 changed files with 7 additions and 5 deletions
+3 -3
View File
@@ -9,7 +9,7 @@
EXEEXT = @SO@
## How to compile the files for the modules:
AM_CCFLAGS = @CCSHARED@
AM_CFLAGS = @CCSHARED@
## And how to build them
AM_LDFLAGS = @LDSHARED@
@@ -21,8 +21,8 @@ pkglib_PROGRAMS = @DRIVERS@
EXTRA_PROGRAMS = bayrad CFontz CFontz633 CFontzPacket curses CwLnx glcdlib glk hd44780 icp_a106 imon IOWarrior irman joy lb216 lcdm001 lcterm lirc ms6931 mtc_s16209x MtxOrb NoritakeVFD pylcd sed1330 sed1520 stv5730 svga t6963 text tyan wirz_sli xosd
noinst_LIBRARIES = libLCD.a
IOWarrior_CFLAGS = @libusb_cflags@
hd44780_CFLAGS = @libusb_cflags@
IOWarrior_CFLAGS = @libusb_cflags@ $(AM_CFLAGS)
hd44780_CFLAGS = @libusb_cflags@ $(AM_CFLAGS)
CFontz_LDADD = libLCD.a
CFontz633_LDADD = libLCD.a
+4 -2
View File
@@ -224,7 +224,8 @@ MODULE_EXPORT void imon_vbar (Driver *drvthis, int x, int y, int len, int promil
if ( pixels >= VFD_DEFAULT_CELL_HEIGHT )
{
/* write a "full" block to the screen... */
drvthis->icon (drvthis, x, y-pos, ICON_BLOCK_FILLED);
//drvthis->icon (drvthis, x, y-pos, ICON_BLOCK_FILLED);
imon_chr (drvthis, x, y-pos, '#');
}
else if (pixels > 0)
{
@@ -256,7 +257,8 @@ MODULE_EXPORT void imon_hbar (Driver *drvthis, int x, int y, int len, int promil
if ( pixels >= VFD_DEFAULT_CELL_WIDTH )
{
/* write a "full" block to the screen... */
drvthis->icon (drvthis, x+pos, y, ICON_BLOCK_FILLED);
//drvthis->icon (drvthis, x+pos, y, ICON_BLOCK_FILLED);
imon_chr (drvthis, x+xpos, y, '#');
}
else if (pixels > 0)
{