1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2024-11-29 07:24:13 +01:00

Replace decimal OBJID representation in auto-generated headers by hexadecimal (taking advantage of new UAVObjGenerator). It makes easier to read and compare them with files on SD card. This does not change OBJID values and should be completely transparent.

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2434 ebee16cc-31ac-478f-84a7-5cbb03baadba
This commit is contained in:
osnwt 2011-01-15 17:00:17 +00:00 committed by osnwt
parent 33ccd49c04
commit 290c9c538f
2 changed files with 2 additions and 2 deletions

View File

@ -41,7 +41,7 @@
#define $(NAMEUC)_H
// Object constants
#define $(NAMEUC)_OBJID $(OBJID)U
#define $(NAMEUC)_OBJID $(OBJIDHEX)
#define $(NAMEUC)_NAME "$(NAME)"
#define $(NAMEUC)_METANAME "$(NAME)Meta"
#define $(NAMEUC)_ISSINGLEINST $(ISSINGLEINST)

View File

@ -50,7 +50,7 @@ $(DATAFIELDS)
$(DATAFIELDINFO)
// Constants
static const quint32 OBJID = $(OBJID)U;
static const quint32 OBJID = $(OBJIDHEX);
static const QString NAME;
static const QString DESCRIPTION;
static const bool ISSINGLEINST = $(ISSINGLEINST);