mirror of
https://github.com/pascallanger/DIY-Multiprotocol-TX-Module.git
synced 2025-02-10 13:08:13 +00:00
Fix RadioLink: request telemetry every time to time like original instead of all the time
This commit is contained in:
parent
438e85c551
commit
4d2c8ef04e
@ -19,7 +19,7 @@
|
|||||||
#define VERSION_MAJOR 1
|
#define VERSION_MAJOR 1
|
||||||
#define VERSION_MINOR 3
|
#define VERSION_MINOR 3
|
||||||
#define VERSION_REVISION 2
|
#define VERSION_REVISION 2
|
||||||
#define VERSION_PATCH_LEVEL 82
|
#define VERSION_PATCH_LEVEL 83
|
||||||
|
|
||||||
#define MODE_SERIAL 0
|
#define MODE_SERIAL 0
|
||||||
|
|
||||||
|
@ -158,6 +158,9 @@ static void __attribute__((unused)) RLINK_send_packet()
|
|||||||
// header
|
// header
|
||||||
if(packet_count>3)
|
if(packet_count>3)
|
||||||
packet[1] = 0x02; // 0x02 telemetry request flag
|
packet[1] = 0x02; // 0x02 telemetry request flag
|
||||||
|
else
|
||||||
|
packet[1] = 0x00; // no telemetry
|
||||||
|
|
||||||
switch(sub_protocol)
|
switch(sub_protocol)
|
||||||
{
|
{
|
||||||
case RLINK_SURFACE:
|
case RLINK_SURFACE:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user