AP_LeakDetector: remove warning message on all non-sub builds

pointless pragma
This commit is contained in:
Andrew Tridgell 2021-01-18 12:27:32 +11:00 committed by Peter Barker
parent 2cf7e7945c
commit c8aaceb6ac
1 changed files with 0 additions and 2 deletions

View File

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