projects
/
fw
/
altos
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
a764bf0
)
altos: let FAT tracing work in ao_fat_test as needed
author
Keith Packard
<keithp@keithp.com>
Mon, 1 Apr 2013 09:00:21 +0000
(
02:00
-0700)
committer
Keith Packard
<keithp@keithp.com>
Mon, 1 Apr 2013 09:00:21 +0000
(
02:00
-0700)
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>
src/drivers/ao_fat.c
patch
|
blob
|
history
diff --git
a/src/drivers/ao_fat.c
b/src/drivers/ao_fat.c
index ddf560cc0ffb50a37afbe4ce36ff3745de8cb923..6aae1410b8676821fec41d7d5f06bd8e6928c947 100644
(file)
--- 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