Multi Telemetry: update version

This commit is contained in:
pascallanger 2016-12-22 10:31:00 +01:00
parent 9b6d2bce58
commit 8efa5bc1dc
2 changed files with 10 additions and 10 deletions

View File

@ -16,10 +16,10 @@
//****************** //******************
// Version // Version
//****************** //******************
#define VERSION_MAJOR 1 #define VERSION_MAJOR 1
#define VERSION_MINOR 1 #define VERSION_MINOR 1
#define VERSION_PATCH_LEVEL_H 6 #define VERSION_REVISION 6
#define VERSION_PATCH_LEVEL_L 2 #define VERSION_PATCH_LEVEL 3
//****************** //******************
// Protocols // Protocols
@ -574,9 +574,9 @@ Type = 0x01 Multimodule Status:
0x08 = module is in binding mode 0x08 = module is in binding mode
[5] major [5] major
[6] minor [6] minor
[7-8] patchlevel [7] revision
version of multi code, should be displayed as major.minor.patchlevel [8] patchlevel,
version of multi code, should be displayed as major.minor.revision.patchlevel
more information can be added by specifing a longer length of the type, the TX will just ignore these bytes more information can be added by specifing a longer length of the type, the TX will just ignore these bytes

View File

@ -89,11 +89,11 @@ static void multi_send_status()
flags |= 0x08; flags |= 0x08;
Serial_write(flags); Serial_write(flags);
// Version number example: 1.16.1 // Version number example: 1.1.6.1
Serial_write(VERSION_MAJOR); Serial_write(VERSION_MAJOR);
Serial_write(VERSION_MINOR); Serial_write(VERSION_MINOR);
Serial_write(VERSION_PATCH_LEVEL_H); Serial_write(VERSION_REVISION);
Serial_write(VERSION_PATCH_LEVEL_L); Serial_write(VERSION_PATCH_LEVEL);
} }
#endif #endif