mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-02-22 15:53:56 -04:00
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
a15cf3192d
commit
2c962e46c1
@ -1,5 +1,7 @@
|
||||
#include "AP_Logger.h"
|
||||
|
||||
#if HAL_LOGGING_ENABLED
|
||||
|
||||
#include "AP_Logger_Backend.h"
|
||||
|
||||
#include "AP_Logger_File.h"
|
||||
@ -1631,3 +1633,5 @@ AP_Logger &logger()
|
||||
}
|
||||
|
||||
};
|
||||
|
||||
#endif // HAL_LOGGING_ENABLED
|
||||
|
Loading…
Reference in New Issue
Block a user