From 940ac791b1752785e4465ed1efd54aa5c5079a0b Mon Sep 17 00:00:00 2001 From: Anthony Good Date: Tue, 4 Nov 2014 17:01:41 -0500 Subject: [PATCH] 2.0.2014110401 Change in Easycom response terminator (now uses whatever command terminator was sent to it) --- k3ng_rotator_controller.ino | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/k3ng_rotator_controller.ino b/k3ng_rotator_controller.ino index bd14959..009ca56 100644 --- a/k3ng_rotator_controller.ino +++ b/k3ng_rotator_controller.ino @@ -270,9 +270,11 @@ Fixed bug with LANGUAGE_CZECH (thanks Radek, OK2NMA) + Change in Easycom response terminator (now uses whatever command terminator was sent to it) + */ -#define CODE_VERSION "2.0.2014110301" +#define CODE_VERSION "2.0.2014110401" #include #include @@ -2063,7 +2065,9 @@ void check_serial(){ if (((incoming_serial_byte == 10) || (incoming_serial_byte == 13) || (incoming_serial_byte == 32)) && (control_port_buffer[0] != '\\') && (control_port_buffer[0] != '/')){ if (control_port_buffer_index > 1){ process_easycom_command(control_port_buffer,control_port_buffer_index,CONTROL_PORT0,return_string); - control_port->println(return_string); + //control_port->println(return_string); zzzzzz + control_port->print(return_string); + control_port->write(incoming_serial_byte); } clear_command_buffer(); } else {