93 volatile uint8_t program_id; |
93 volatile uint8_t program_id; |
94 volatile uint8_t program_command; |
94 volatile uint8_t program_command; |
95 volatile uint8_t program_parameter; |
95 volatile uint8_t program_parameter; |
96 |
96 |
97 volatile uint8_t datalen = 0; |
97 volatile uint8_t datalen = 0; |
98 char data[10]; // 8 bytes data buffer + string termination |
98 //unused: char data[10]; // 8 bytes data buffer + string termination |
99 |
99 |
100 static char buffer[RS232_BUFSIZE+1]; |
100 static char buffer[RS232_BUFSIZE+1]; |
101 static uint8_t buffer_len; |
101 static uint8_t buffer_len; |
102 |
102 |
103 volatile uint16_t transmit_buffer; |
103 volatile uint16_t transmit_buffer; |