mirror of https://github.com/ArduPilot/ardupilot
AP_Proximity: correct debugginf for RPLidarA2
This commit is contained in:
parent
f2df171fdd
commit
0c14a309f7
|
@ -35,7 +35,7 @@
|
|||
#define RP_DEBUG_LEVEL 0
|
||||
|
||||
#if RP_DEBUG_LEVEL
|
||||
#include <GCS_MAVLINK/GCS.h>
|
||||
#include <GCS_MAVLink/GCS.h>
|
||||
#define Debug(level, fmt, args ...) do { if (level <= RP_DEBUG_LEVEL) { gcs().send_text(MAV_SEVERITY_INFO, fmt, ## args); } } while (0)
|
||||
#else
|
||||
#define Debug(level, fmt, args ...)
|
||||
|
|
Loading…
Reference in New Issue