summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2011-02-28 00:50:17 +0100
committerJérémy Zurcher <jeremy@asynk.ch>2011-02-28 00:50:17 +0100
commit8b779206567428444ddd40a5ea4b968c7cdf878b (patch)
tree96d79123231d8cadc38271664dcb9112199450b3
parentf56d3b639c108869dbbdef26a72642f0fb14b8a6 (diff)
downloadk8055-8b779206567428444ddd40a5ea4b968c7cdf878b.zip
k8055-8b779206567428444ddd40a5ea4b968c7cdf878b.tar.gz
libk8055/main.c uses debug
-rw-r--r--libk8055/main.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/libk8055/main.c b/libk8055/main.c
index a6fa602..d21047e 100644
--- a/libk8055/main.c
+++ b/libk8055/main.c
@@ -43,7 +43,7 @@
#define false 0
#define true 1
-extern int DEBUG;
+extern int debug;
int ia1 = -1;
int ia2 = -1;
@@ -52,8 +52,6 @@ int ipid = 0;
int numread = 1;
-int debug = 0;
-
int dbt1 = -1; // (-1 => not to set)
int dbt2 = -1; // (-1 => not to set)
@@ -147,7 +145,6 @@ int read_param(int argc,char *params[])
else
if ( !strcmp(params[i],"-debug") ){
debug = true;
- DEBUG = true;
}
else
if ( !strcmp(params[i],"-reset1") ) resetcnt1 = true;