Add a UnitMilliSeconds

This commit is contained in:
Michael Zanetti 2020-12-11 17:27:35 +01:00
parent 4ce5d773b0
commit 30f69e619b
3 changed files with 4 additions and 2 deletions

View File

@ -86,6 +86,7 @@ public:
enum Unit { enum Unit {
UnitNone, UnitNone,
UnitMilliSeconds,
UnitSeconds, UnitSeconds,
UnitMinutes, UnitMinutes,
UnitHours, UnitHours,

View File

@ -5,7 +5,7 @@ NYMEA_VERSION_STRING=$$system('dpkg-parsechangelog | sed -n -e "s/^Version: //p"
# define protocol versions # define protocol versions
JSON_PROTOCOL_VERSION_MAJOR=5 JSON_PROTOCOL_VERSION_MAJOR=5
JSON_PROTOCOL_VERSION_MINOR=2 JSON_PROTOCOL_VERSION_MINOR=3
JSON_PROTOCOL_VERSION="$${JSON_PROTOCOL_VERSION_MAJOR}.$${JSON_PROTOCOL_VERSION_MINOR}" JSON_PROTOCOL_VERSION="$${JSON_PROTOCOL_VERSION_MAJOR}.$${JSON_PROTOCOL_VERSION_MINOR}"
LIBNYMEA_API_VERSION_MAJOR=7 LIBNYMEA_API_VERSION_MAJOR=7
LIBNYMEA_API_VERSION_MINOR=0 LIBNYMEA_API_VERSION_MINOR=0

View File

@ -1,4 +1,4 @@
5.2 5.3
{ {
"enums": { "enums": {
"BasicType": [ "BasicType": [
@ -287,6 +287,7 @@
], ],
"Unit": [ "Unit": [
"UnitNone", "UnitNone",
"UnitMilliSeconds",
"UnitSeconds", "UnitSeconds",
"UnitMinutes", "UnitMinutes",
"UnitHours", "UnitHours",