summaryrefslogtreecommitdiff
path: root/src/drivers/ao_fat.c
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2013-04-01 02:00:21 -0700
committerKeith Packard <keithp@keithp.com>2013-04-01 02:00:21 -0700
commit76bd204de744c34e5cbf6efa93adb89bc2cb08b3 (patch)
tree4b8534d9f4dd87a7c94637884417e5cd16d74e9a /src/drivers/ao_fat.c
parenta764bf06d0975cbf1620b079351c7437053ea1a8 (diff)
altos: let FAT tracing work in ao_fat_test as needed
This allows the FAT DBG hooks to be enabled even if some other module turned DBG off. Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'src/drivers/ao_fat.c')
-rw-r--r--src/drivers/ao_fat.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/drivers/ao_fat.c b/src/drivers/ao_fat.c
index ddf560cc..6aae1410 100644
--- a/src/drivers/ao_fat.c
+++ b/src/drivers/ao_fat.c
@@ -30,6 +30,10 @@
/* Spew FAT tracing */
#define FAT_TRACE 0
+#ifdef DBG
+#undef DBG
+#endif
+
#if FAT_TRACE
#define DBG(...) printf(__VA_ARGS__)
#else