From 847baa09effc86110923d854da1f7437bb0af42b Mon Sep 17 00:00:00 2001 From: bsongis Date: Tue, 20 May 2014 20:17:33 +0200 Subject: [PATCH] Add a revision number to the versioning scheme --- radio/src/Makefile | 3 +-- radio/src/lua.cpp | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/radio/src/Makefile b/radio/src/Makefile index 09089a269..d69cd2bd1 100644 --- a/radio/src/Makefile +++ b/radio/src/Makefile @@ -279,7 +279,7 @@ SHELL = sh IMG2LBM = -python ../util/img2lbm.py BIN2LBM = -python ../util/bin2lbm.py TRANSLATE = -python ../util/translate.py -VERSION = 1.99 +VERSION = 1.99.1 SRC = CPPSRC = @@ -1155,7 +1155,6 @@ stamp_header: @echo "#define DATE_STR \"`date +%Y-%m-%d | tr -d '\r\n'`\"" >> stamp-opentx.h @echo "#define TIME_STR \"`date +%H:%M:%S | tr -d '\r\n'`\"" >> stamp-opentx.h @echo "#define VERS_STR \"$(VERSION)\"" >> stamp-opentx.h - @echo "#define VERS_NUM $(VERSION)" >> stamp-opentx.h opentx-stamp: @echo "#define DATE_STR \"`date +%Y-%m-%d`\"" > stamp-opentx.txt diff --git a/radio/src/lua.cpp b/radio/src/lua.cpp index 925a92e14..ad4c036d6 100644 --- a/radio/src/lua.cpp +++ b/radio/src/lua.cpp @@ -80,7 +80,7 @@ void hook(lua_State* L, lua_Debug *ar) static int luaGetVersion(lua_State *L) { - lua_pushnumber(L, VERS_NUM); + lua_pushstring(L, VERS_STR); return 1; }