New Corona protocol and autobind bug fix

This commit is contained in:
Pascal Langer
2018-01-03 13:04:58 +01:00
parent d70d8f62a4
commit 70db505dd9
38 changed files with 366 additions and 77 deletions

View File

@@ -428,7 +428,7 @@ uint16_t initHubsan()
channel = allowed_ch[MProtocol_id % sizeof(allowed_ch)];
hubsan_id_data=ID_NORMAL;
if(IS_AUTOBIND_FLAG_on || sub_protocol==H107)
if(IS_BIND_IN_PROGRESS || sub_protocol==H107)
{
BIND_IN_PROGRESS; // autobind protocol
phase = BIND_1;