mirror of https://github.com/ArduPilot/ardupilot
AP_Periph: fix version setting in CheckFirmware app descriptor
This commit is contained in:
parent
5a4931b596
commit
7b6b6ae803
|
@ -1,3 +1,4 @@
|
|||
#define FORCE_VERSION_H_INCLUDE
|
||||
#include "AP_Periph.h"
|
||||
#include "version.h"
|
||||
#undef FORCE_VERSION_H_INCLUDE
|
||||
|
|
|
@ -5,14 +5,16 @@
|
|||
#endif
|
||||
|
||||
#include "ap_version.h"
|
||||
#include <AP_HAL/AP_HAL.h>
|
||||
|
||||
#define THISFIRMWARE "AP_Periph V1.7.0-dev"
|
||||
|
||||
// defines needed due to lack of GCS includes
|
||||
#ifndef HAVE_ENUM_FIRMWARE_VERSION_TYPE
|
||||
#define FIRMWARE_VERSION_TYPE_DEV 0
|
||||
#define FIRMWARE_VERSION_TYPE_BETA 255
|
||||
#define FIRMWARE_VERSION_TYPE_OFFICIAL 255
|
||||
|
||||
#endif
|
||||
|
||||
// the following line is parsed by the autotest scripts
|
||||
#define FIRMWARE_VERSION 1,7,0,FIRMWARE_VERSION_TYPE_DEV
|
||||
|
@ -23,3 +25,4 @@
|
|||
#define FW_TYPE FIRMWARE_VERSION_TYPE_DEV
|
||||
|
||||
#include <AP_Common/AP_FWVersionDefine.h>
|
||||
#include <AP_CheckFirmware/AP_CheckFirmwareDefine.h>
|
||||
|
|
Loading…
Reference in New Issue