Flyzone protocol: 8 channels support

This commit is contained in:
Pascal Langer
2020-07-31 10:42:10 +02:00
parent df28cfe3cc
commit 19164521e4
5 changed files with 25 additions and 6 deletions

View File

@@ -383,6 +383,10 @@ void A7105_Init(void)
if(i==0x20) val=0x1E;
}
#endif
#ifdef FLYZONE_A7105_INO
if(protocol==PROTO_FLYZONE && sub_protocol==FLYZONE_8CH)
if(i==0x03) val=0x0A;
#endif
if( val != 0xFF)
A7105_WriteReg(i, val);
}