diff --git a/src/com232.c b/src/com232.c index 9765f53..ab30c32 100644 --- a/src/com232.c +++ b/src/com232.c @@ -38,7 +38,6 @@ (uint16_t)((float)(F_CPU * 64 / (RXMODE_S * (float)BAUD_RATE)) + 0.5) uint8_t RS232_RxCharBuffer[25], RS232_RxCharBegin, RS232_RxCharEnd; -uint8_t readkey; void RS232_Init(void) { RS232_RxCharBegin = RS232_RxCharEnd = 0; diff --git a/src/com232.h b/src/com232.h index 63cb40d..6e390f9 100644 --- a/src/com232.h +++ b/src/com232.h @@ -26,7 +26,6 @@ #include extern uint8_t RS232_RxCharBuffer[25], RS232_RxCharBegin, RS232_RxCharEnd; -extern uint8_t readkey; void RS232_Init(void); void RS232_Print_P(const char *str_addr); diff --git a/src/sniffer.c b/src/sniffer.c index 4c8c211..b847f74 100644 --- a/src/sniffer.c +++ b/src/sniffer.c @@ -36,6 +36,7 @@ uint8_t Event; uint8_t echoCharacters; uint8_t readBinary; +uint8_t readkey; const char const *offon[] = {"OFF", "ON"};