WFLY2: fix bind after code cleanup...

This commit is contained in:
Pascal Langer committed 2020-12-15 09:51:11 +01:00
1 parent cfe80edcb6
commit 4887fca873
4 files changed
+11 -7

No files matched your search

+1 -1
View File
@@ -27,7 +27,7 @@ void A7105_WriteData(uint8_t len, uint8_t channel)
for (i = 0; i < len; i++)
SPI_Write(packet[i]);
A7105_CSN_on;
if(protocol!=PROTO_WFLY2)
if(protocol!=PROTO_WFLY2 || phase==0)
{
if(!(protocol==PROTO_FLYSKY || protocol==PROTO_KYOSHO))
{