Browse Source

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

mission-4.1.18
Lucas De Marchi 8 years ago
parent
commit
d213ccbbfc
  1. 6
      ArduCopter/version.h

6
ArduCopter/version.h

@ -1,6 +1,10 @@ @@ -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 "APM:Copter V3.6-dev"

Loading…
Cancel
Save