From 76bd204de744c34e5cbf6efa93adb89bc2cb08b3 Mon Sep 17 00:00:00 2001 From: Keith Packard Date: Mon, 1 Apr 2013 02:00:21 -0700 Subject: [PATCH] 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 --- src/drivers/ao_fat.c | 4 ++++ 1 file changed, 4 insertions(+) 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 -- 2.30.2