mirror of
https://github.com/pascallanger/DIY-Multiprotocol-TX-Module.git
synced 2025-02-04 18:38:13 +00:00
Multi Telemetry: update version
This commit is contained in:
parent
9b6d2bce58
commit
8efa5bc1dc
@ -16,10 +16,10 @@
|
||||
//******************
|
||||
// Version
|
||||
//******************
|
||||
#define VERSION_MAJOR 1
|
||||
#define VERSION_MINOR 1
|
||||
#define VERSION_PATCH_LEVEL_H 6
|
||||
#define VERSION_PATCH_LEVEL_L 2
|
||||
#define VERSION_MAJOR 1
|
||||
#define VERSION_MINOR 1
|
||||
#define VERSION_REVISION 6
|
||||
#define VERSION_PATCH_LEVEL 3
|
||||
|
||||
//******************
|
||||
// Protocols
|
||||
@ -574,9 +574,9 @@ Type = 0x01 Multimodule Status:
|
||||
0x08 = module is in binding mode
|
||||
[5] major
|
||||
[6] minor
|
||||
[7-8] patchlevel
|
||||
version of multi code, should be displayed as major.minor.patchlevel
|
||||
|
||||
[7] revision
|
||||
[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
|
||||
|
||||
|
@ -89,11 +89,11 @@ static void multi_send_status()
|
||||
flags |= 0x08;
|
||||
Serial_write(flags);
|
||||
|
||||
// Version number example: 1.16.1
|
||||
// Version number example: 1.1.6.1
|
||||
Serial_write(VERSION_MAJOR);
|
||||
Serial_write(VERSION_MINOR);
|
||||
Serial_write(VERSION_PATCH_LEVEL_H);
|
||||
Serial_write(VERSION_PATCH_LEVEL_L);
|
||||
Serial_write(VERSION_REVISION);
|
||||
Serial_write(VERSION_PATCH_LEVEL);
|
||||
}
|
||||
#endif
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user