ArduPlane: protect version.h from inclusion and use ap_version.h

This commit is contained in:
Lucas De Marchi 2017-09-12 11:34:58 -07:00
parent d213ccbbfc
commit 96e7ea4d69
1 changed files with 5 additions and 1 deletions

View File

@ -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 "ArduPlane V3.8.2-dev"