mirror of
https://github.com/pascallanger/DIY-Multiprotocol-TX-Module.git
synced 2026-12-06 07:37:38 +00:00
Kyosho updqte
fixed crash
This commit is contained in:
1 parent
2888d3e937
commit
8ac53657ec
3 files changed
+9
-9
No files matched your search
@@ -418,10 +418,10 @@ void A7105_Init(void)
|
||||
#ifdef KYOSHO_A7105_INO
|
||||
if(protocol==PROTO_KYOSHO)
|
||||
{
|
||||
if(sub_protocol==KYOSHO_FHSS || sub_protocol==KYOSHO_SYNCRO)
|
||||
A7105_Regs=(uint8_t*)KYOSHO_A7105_regs;
|
||||
else
|
||||
if(sub_protocol==KYOSHO_HYPE)
|
||||
A7105_Regs=(uint8_t*)KYOSHO_HYPE_A7105_regs;
|
||||
else //FHSS && SYNCRO
|
||||
A7105_Regs=(uint8_t*)KYOSHO_A7105_regs;
|
||||
}
|
||||
#endif
|
||||
}
|
||||
@@ -446,7 +446,7 @@ void A7105_Init(void)
|
||||
}
|
||||
A7105_Strobe(A7105_STANDBY);
|
||||
|
||||
if(protocol==PROTO_KYOSHO && (sub_protocol==KYOSHO_FHSS || sub_protocol==KYOSHO_SYNCRO))
|
||||
if(protocol==PROTO_KYOSHO && sub_protocol!=KYOSHO_HYPE)
|
||||
{//strange calibration...
|
||||
//IF Filter Bank Calibration
|
||||
A7105_WriteReg(A7105_02_CALC,0x0F);
|
||||
|
||||
Reference in new issue
Block a user