mirror of
https://github.com/k3ng/k3ng_rotator_controller.git
synced 2025-01-02 19:36:47 +00:00
2.0.2014110401 Change in Easycom response terminator (now uses whatever command terminator was sent to it)
This commit is contained in:
parent
7ed8d1ec6f
commit
940ac791b1
@ -270,9 +270,11 @@
|
|||||||
|
|
||||||
Fixed bug with LANGUAGE_CZECH (thanks Radek, OK2NMA)
|
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 <avr/pgmspace.h>
|
#include <avr/pgmspace.h>
|
||||||
#include <EEPROM.h>
|
#include <EEPROM.h>
|
||||||
@ -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 (((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){
|
if (control_port_buffer_index > 1){
|
||||||
process_easycom_command(control_port_buffer,control_port_buffer_index,CONTROL_PORT0,return_string);
|
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();
|
clear_command_buffer();
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
Reference in New Issue
Block a user