mirror of https://github.com/ArduPilot/ardupilot
AP_Param: disable debug ready for production
This commit is contained in:
parent
7ffb9b462d
commit
a1057fe738
|
@ -19,7 +19,7 @@
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <FastSerial.h>
|
#include <FastSerial.h>
|
||||||
|
|
||||||
#define ENABLE_FASTSERIAL_DEBUG
|
// #define ENABLE_FASTSERIAL_DEBUG
|
||||||
|
|
||||||
#ifdef 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)
|
# define serialDebug(fmt, args...) if (FastSerial::getInitialized(0)) do {Serial.printf("%s:%d: " fmt "\n", __FUNCTION__, __LINE__ , ##args); delay(0); } while(0)
|
||||||
|
|
Loading…
Reference in New Issue