diff --git a/ArduPlane/version.h b/ArduPlane/version.h index c023b5bba9..18a3cf7702 100644 --- a/ArduPlane/version.h +++ b/ArduPlane/version.h @@ -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"