This commit is contained in:
Pascal Langer 2017-12-07 17:28:01 +01:00
parent ed42bf311f
commit 19f879da7f
3 changed files with 8 additions and 4 deletions

View File

@ -676,9 +676,10 @@ Serial: 100000 Baud 8e2 _ xxxx xxxx p --
[2] Flags
0x01 = Input signal detected
0x02 = Serial mode enabled
0x04 = protocol is valid
0x08 = module is in binding mode
0x10 = module waits a bind event to load the protocol
0x04 = Protocol is valid
0x08 = Module is in binding mode
0x10 = Module waits a bind event to load the protocol
0x20 = Failsafe supported by currently running protocol
[3] major
[4] minor
[5] revision

View File

@ -109,6 +109,9 @@ static void multi_send_status()
else
if (!IS_BIND_DONE_on)
flags |= 0x08;
//Failsafe supported
if((protocol==MODE_HISKY && sub_protocol==HK310) || protocol==MODE_DEVO || protocol==MODE_SFHSS || protocol==MODE_WK2x01 || protocol==MODE_AFHDS2A) //|| protocol==MODE_FRSKYX)
flags |= 0x20;
}
Serial_write(flags);

View File

@ -159,7 +159,7 @@
/*** FAILSAFE SETTINGS ***/
/**************************/
//The module is using the same default failsafe values for all protocols which currently supports it:
// Devo, SFHSS and AFHDS2A
// Devo, WK2x01, SFHSS, HISKY/HK310 and AFHDS2A
//All channels are centered except throttle which is forced low.
//If you want to diasble failsafe globally comment the line below using "//".
#define FAILSAFE_ENABLE