Merge dedd7a3ddbd2f980165f9c8720cb744239f886fa into 3788ad5f6ef5f3b035c304bbec40a3f8782bb3d9

This commit is contained in:
KD4Z 2023-10-14 19:25:41 -06:00 committed by GitHub
commit 2f25d51236
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 4 deletions

View File

@ -7142,10 +7142,12 @@ void update_lcd_display(){
// --------------------------------------------------------------
#if defined(FEATURE_REMOTE_UNIT_SLAVE) || defined(FEATURE_YAESU_EMULATION) || defined(FEATURE_EASYCOM_EMULATION)
void get_keystroke(){
while (control_port->available() == 0) {
}
while (control_port->available() > 0)
incoming_serial_byte = control_port->read();
#ifndef OPTION_SAVE_CONFIGURATION_WITHOUT_WAITING_FOR_KEYSTROKE
while (control_port->available() == 0) {
}
while (control_port->available() > 0)
incoming_serial_byte = control_port->read();
#endif
}
#endif // defined(FEATURE_REMOTE_UNIT_SLAVE) || defined(FEATURE_YAESU_EMULATION) || defined(FEATURE_EASYCOM_EMULATION)

View File

@ -182,6 +182,7 @@
// #define OPTION_MORE_SERIAL_CHECKS
// #define OPTION_STEPPER_MOTOR_USE_TIMER_ONE_INSTEAD_OF_FIVE
// #define OPTION_ALLOW_ROTATIONAL_AND_CONFIGURATION_CMDS_AT_BOOT_UP // if disabled, rotational and configuration commands will be ignored on the serial port for the first 10 second after boot up
// #define OPTION_SAVE_CONFIGURATION_WITHOUT_WAITING_FOR_KEYSTROKE
// #define OPTION_STEPPER_MOTOR_MAX_2_KHZ
// #define OPTION_STEPPER_MOTOR_MAX_5_KHZ