AP_Proximity: correct debugginf for RPLidarA2

This commit is contained in:
Peter Barker 2018-04-10 16:44:22 +10:00 committed by Randy Mackay
parent f2df171fdd
commit 0c14a309f7
1 changed files with 1 additions and 1 deletions

View File

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