@@ -181,7 +181,7 @@ void CatSetPTT(boolean isPTTOn, byte fromType)
181
181
void CatVFOToggle (boolean isSendACK, byte fromType)
182
182
{
183
183
if (fromType != 2 && fromType != 3 ) {
184
- menuVfoToggle (1 );
184
+ menuVfoToggle (1 , 0 );
185
185
}
186
186
187
187
if (isSendACK)
@@ -470,8 +470,8 @@ void WriteEEPRom_FT817(byte fromType)
470
470
sideTone = (sideTonePitch * 50 + 300 ) + sideToneSub;
471
471
printLineF2 (F (" Sidetone set! CAT" ));
472
472
EEPROM.put (CW_SIDETONE, sideTone);
473
- delay (500 );
474
- printLine2 (" " );
473
+ delay (300 ); // If timeout errors occur in the calling software, remove them
474
+ printLine2 (" " ); // Ham radio deluxe is the only one that supports this feature yet. and ham radio deluxe has wait time as greater than 500ms
475
475
}
476
476
break ;
477
477
@@ -482,8 +482,8 @@ void WriteEEPRom_FT817(byte fromType)
482
482
sideTone = (sideTonePitch * 50 + 300 ) + sideToneSub;
483
483
printLineF2 (F (" Sidetone set! CAT" ));
484
484
EEPROM.put (CW_SIDETONE, sideTone);
485
- delay (500 );
486
- printLine2 (" " );
485
+ delay (300 ); // If timeout errors occur in the calling software, remove them
486
+ printLine2 (" " ); // Ham radio deluxe is the only one that supports this feature yet. and ham radio deluxe has wait time as greater than 500ms
487
487
}
488
488
break ;
489
489
@@ -502,7 +502,7 @@ void WriteEEPRom_FT817(byte fromType)
502
502
cwDelayTime = CAT_BUFF[2 ];
503
503
printLineF2 (F (" CW Speed set!" ));
504
504
EEPROM.put (CW_DELAY, cwDelayTime);
505
- delay (500 );
505
+ delay (300 );
506
506
printLine2 (" " );
507
507
break ;
508
508
case 0x62 : //
@@ -511,7 +511,7 @@ void WriteEEPRom_FT817(byte fromType)
511
511
cwSpeed = 1200 / ((CAT_BUFF[2 ] & 0x3F ) + 4 );
512
512
printLineF2 (F (" CW Speed set!" ));
513
513
EEPROM.put (CW_SPEED, cwSpeed);
514
- delay (500 );
514
+ delay (300 );
515
515
printLine2 (" " );
516
516
517
517
break ;
@@ -629,7 +629,6 @@ void Check_Cat(byte fromType)
629
629
}
630
630
else if (Serial.available () < 5 )
631
631
{
632
- /*
633
632
// First Arrived
634
633
if (rxBufferCheckCount == 0 )
635
634
{
@@ -649,8 +648,6 @@ void Check_Cat(byte fromType)
649
648
rxBufferCheckCount = Serial.available ();
650
649
rxBufferArriveTime = millis () + CAT_RECEIVE_TIMEOUT; // Set time for timeout
651
650
}
652
- */
653
-
654
651
return ;
655
652
}
656
653
0 commit comments