diff --git a/Makefile b/Makefile index 7c361a7..259c461 100644 --- a/Makefile +++ b/Makefile @@ -55,7 +55,7 @@ GCC_CFLAGS = -O1 -Wall -Wno-char-subscripts -ggdb MSPDEBUG_LDFLAGS = $(LDFLAGS) $(PORTS_LDFLAGS) MSPDEBUG_LIBS = -lusb $(READLINE_LIBS) $(WIN32_LIBS) -MSPDEBUG_CFLAGS = $(CFLAGS) $(PORTS_CFLAGS) $(GCC_CFLAGS) +MSPDEBUG_CFLAGS = $(CFLAGS) $(READLINE_CFLAGS) $(PORTS_CFLAGS) $(GCC_CFLAGS) all: $(BINARY) diff --git a/simio_timer.c b/simio_timer.c index 6fadad3..a29ac23 100644 --- a/simio_timer.c +++ b/simio_timer.c @@ -49,7 +49,7 @@ #define OUTMOD0 0x0020 /* Output mode 0 */ #define CCIE 0x0010 /* Capture/compare interrupt enable */ #define CCI 0x0008 /* Capture input signal (read) */ -#define OUT 0x0004 /* PWM Output signal if output mode 0 */ +/* #define OUT 0x0004 PWM Output signal if output mode 0 */ #define COV 0x0002 /* Capture/compare overflow flag */ #define CCIFG 0x0001 /* Capture/compare interrupt flag */ diff --git a/stdcmd.c b/stdcmd.c index 0226b7d..57200e7 100644 --- a/stdcmd.c +++ b/stdcmd.c @@ -103,7 +103,7 @@ int cmd_help(char **arg) vector_destroy(&v); printc("Type \"help \" for more information.\n"); -#ifdef WIN32 +#if defined(WIN32) && !defined(USE_READLINE) printc("Press Ctrl+Z, Enter to quit.\n"); #else printc("Press Ctrl+D to quit.\n");