summaryrefslogtreecommitdiff
path: root/src/smi.h
diff options
context:
space:
mode:
authorNiels de Vos <niels.devos@wincor-nixdorf.com>2009-02-11 10:10:13 +0100
committerFrancisco Jerez <currojerez@riseup.net>2009-02-11 22:19:30 +0100
commite62807140ede74e262ed70c846017dc3506b511e (patch)
treeb2b8db3b8b6f08e808d0d91f90ba558ede0afed8 /src/smi.h
parent0b34c4a29fcf45ac24361b4691cca0fd99cc3a3f (diff)
siliconmotion: Fix disabling of debugging if SMI501_CLI_DEBUG is set to 0
Due to checking if SMI501_CLI_DEBUG is defined, some debugging will be enabled if SMI501_CLI_DEBUG is set to 0. A single #if should be used instead. Some debugging code already does this. Signed-off-by: Niels de Vos <niels.devos@wincor-nixdorf.com> Signed-off-by: Francisco Jerez <currojerez@riseup.net>
Diffstat (limited to 'src/smi.h')
-rw-r--r--src/smi.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/smi.h b/src/smi.h
index ebd8a66..e682dfa 100644
--- a/src/smi.h
+++ b/src/smi.h
@@ -264,7 +264,7 @@ typedef struct
structure */
void (*BlockHandler)(int i, pointer blockData, pointer pTimeout,
pointer pReadMask);
-#ifdef SMI501_CLI_DEBUG
+#if SMI501_CLI_DEBUG
/* SMI 501/502 Command List Interpreter */
Bool batch_active;
int64_t *batch_handle; /* Virtual address */