AP_Param: disable debug ready for production

This commit is contained in:
Andrew Tridgell 2012-02-12 19:18:44 +11:00
parent 7ffb9b462d
commit a1057fe738
1 changed files with 1 additions and 1 deletions

View File

@ -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)