Kyosho/Hype: another attempt to fix bind...

This commit is contained in:
Pascal Langer
2020-09-30 11:06:30 +02:00
parent 25ebd55c85
commit 4058f04b39
3 changed files with 36 additions and 23 deletions

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_FLYSKY)
if(!(protocol==PROTO_FLYSKY || protocol==PROTO_KYOSHO))
{
A7105_Strobe(A7105_STANDBY); //Force standby mode, ie cancel any TX or RX...
A7105_SetTxRxMode(TX_EN); //Switch to PA