mirror of https://github.com/ArduPilot/ardupilot
AP_Logger: don't compiler AP_Logger.cpp if logging not enabled
for some reason this fixes f103-GPS build, even though the code wasn't referenced
This commit is contained in:
parent
42b6479527
commit
d83a56b60b
|
@ -1,5 +1,7 @@
|
||||||
#include "AP_Logger.h"
|
#include "AP_Logger.h"
|
||||||
|
|
||||||
|
#if HAL_LOGGING_ENABLED
|
||||||
|
|
||||||
#include "AP_Logger_Backend.h"
|
#include "AP_Logger_Backend.h"
|
||||||
|
|
||||||
#include "AP_Logger_File.h"
|
#include "AP_Logger_File.h"
|
||||||
|
@ -1628,3 +1630,5 @@ AP_Logger &logger()
|
||||||
}
|
}
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
#endif // HAL_LOGGING_ENABLED
|
||||||
|
|
Loading…
Reference in New Issue