mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-28 19:48:31 -04:00
AntennaTracker: protect version.h from inclusion and use ap_version.h
This commit is contained in:
parent
cd81b27c05
commit
9db5d7991c
@ -1,6 +1,10 @@
|
||||
#pragma once
|
||||
|
||||
#include "AP_Common/AP_FWVersion.h"
|
||||
#ifndef FORCE_VERSION_H_INCLUDE
|
||||
#error version.h should never be included directly. You probably want to include AP_Common/AP_FWVersion.h
|
||||
#endif
|
||||
|
||||
#include "ap_version.h"
|
||||
|
||||
#define THISFIRMWARE "AntennaTracker V1.0.0"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user