Browse Source

DataFlash: disable some debug code

mission-4.1.18
Andrew Tridgell 12 years ago
parent
commit
fb4540a349
  1. 4
      libraries/DataFlash/DataFlash_APM1.cpp

4
libraries/DataFlash/DataFlash_APM1.cpp

@ -36,14 +36,12 @@ @@ -36,14 +36,12 @@
extern const AP_HAL::HAL& hal;
///*
#define ENABLE_FASTSERIAL_DEBUG
//#define ENABLE_FASTSERIAL_DEBUG
#ifdef ENABLE_FASTSERIAL_DEBUG
#define serialDebug(fmt, args...) do {hal.console->printf_P(PSTR( __FUNCTION__ ":%d:" fmt "\n"), __LINE__, ##args); } while(0)
#else
# define serialDebug(fmt, args...)
#endif
//*/

Loading…
Cancel
Save