mirror of https://github.com/ARMmbed/mbed-os.git
Enable DATAFLASH_DEBUG to be defined externally
(for example in a Makefile) instead of it being hardcoded in the .cpp file.pull/7774/head
parent
b7d2c1a2da
commit
a0c4fb6565
|
@ -36,7 +36,9 @@
|
|||
#define DATAFLASH_PAGE_BIT_528 10
|
||||
|
||||
/* enable debug */
|
||||
#ifndef DATAFLASH_DEBUG
|
||||
#define DATAFLASH_DEBUG 0
|
||||
#endif /* DATAFLASH_DEBUG */
|
||||
|
||||
#if DATAFLASH_DEBUG
|
||||
#define DEBUG_PRINTF(...) printf(__VA_ARGS__)
|
||||
|
|
Loading…
Reference in New Issue