Browse Source

AP_LeakDetector: remove warning message on all non-sub builds

pointless pragma
c415-sdk
Andrew Tridgell 4 years ago committed by Peter Barker
parent
commit
c8aaceb6ac
  1. 2
      libraries/AP_LeakDetector/AP_LeakDetector.cpp

2
libraries/AP_LeakDetector/AP_LeakDetector.cpp

@ -84,8 +84,6 @@ void AP_LeakDetector::init() @@ -84,8 +84,6 @@ void AP_LeakDetector::init()
_state[i].instance = i;
_drivers[i] = new AP_LeakDetector_Digital(*this, _state[i]);
break;
#else
#pragma message("Board does not support LeakDetection")
#endif
default:
_drivers[i] = NULL;

Loading…
Cancel
Save