Browse Source

AP_Param: disable debug ready for production

mission-4.1.18
Andrew Tridgell 13 years ago
parent
commit
9509c69f42
  1. 2
      libraries/AP_Common/AP_Param.cpp

2
libraries/AP_Common/AP_Param.cpp

@ -19,7 +19,7 @@ @@ -19,7 +19,7 @@
#include <string.h>
#include <FastSerial.h>
#define ENABLE_FASTSERIAL_DEBUG
// #define ENABLE_FASTSERIAL_DEBUG
#ifdef ENABLE_FASTSERIAL_DEBUG
# define serialDebug(fmt, args...) if (FastSerial::getInitialized(0)) do {Serial.printf("%s:%d: " fmt "\n", __FUNCTION__, __LINE__ , ##args); delay(0); } while(0)

Loading…
Cancel
Save