mirror of https://github.com/ArduPilot/ardupilot
DataFlash: add temporary workaround for macro usage
Make DataFlash correctly save the git version. We should think about a better solution, like it was done on GCSMavlink, but this is the minimal change to make it possible to move includes of version.h to their respective users.
This commit is contained in:
parent
ec935cf0fe
commit
9e7bda83bf
|
@ -1,6 +1,10 @@
|
|||
#include "AP_Common/AP_FWVersion.h"
|
||||
#include "DFMessageWriter.h"
|
||||
|
||||
#define FORCE_VERSION_H_INCLUDE
|
||||
#include "ap_version.h"
|
||||
#undef FORCE_VERSION_H_INCLUDE
|
||||
|
||||
extern const AP_HAL::HAL& hal;
|
||||
|
||||
/* LogStartup - these are simple state machines which allow us to
|
||||
|
|
Loading…
Reference in New Issue