mirror of
https://github.com/halleysfifthinc/AVCLAN-Mockingboard.git
synced 2026-08-07 01:13:18 +00:00
Move readkey var to sniffer
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -26,7 +26,6 @@
|
||||
#include <stdint.h>
|
||||
|
||||
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);
|
||||
|
||||
@@ -36,6 +36,7 @@
|
||||
uint8_t Event;
|
||||
uint8_t echoCharacters;
|
||||
uint8_t readBinary;
|
||||
uint8_t readkey;
|
||||
|
||||
const char const *offon[] = {"OFF", "ON"};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user