mirror of
https://github.com/halleysfifthinc/Toyota-AVC-LAN
synced 2025-06-07 16:06:12 +00:00
Move readkey var to sniffer
This commit is contained in:
parent
17f5510b16
commit
84f426f39f
@ -38,7 +38,6 @@
|
|||||||
(uint16_t)((float)(F_CPU * 64 / (RXMODE_S * (float)BAUD_RATE)) + 0.5)
|
(uint16_t)((float)(F_CPU * 64 / (RXMODE_S * (float)BAUD_RATE)) + 0.5)
|
||||||
|
|
||||||
uint8_t RS232_RxCharBuffer[25], RS232_RxCharBegin, RS232_RxCharEnd;
|
uint8_t RS232_RxCharBuffer[25], RS232_RxCharBegin, RS232_RxCharEnd;
|
||||||
uint8_t readkey;
|
|
||||||
|
|
||||||
void RS232_Init(void) {
|
void RS232_Init(void) {
|
||||||
RS232_RxCharBegin = RS232_RxCharEnd = 0;
|
RS232_RxCharBegin = RS232_RxCharEnd = 0;
|
||||||
|
@ -26,7 +26,6 @@
|
|||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
|
|
||||||
extern uint8_t RS232_RxCharBuffer[25], RS232_RxCharBegin, RS232_RxCharEnd;
|
extern uint8_t RS232_RxCharBuffer[25], RS232_RxCharBegin, RS232_RxCharEnd;
|
||||||
extern uint8_t readkey;
|
|
||||||
|
|
||||||
void RS232_Init(void);
|
void RS232_Init(void);
|
||||||
void RS232_Print_P(const char *str_addr);
|
void RS232_Print_P(const char *str_addr);
|
||||||
|
@ -36,6 +36,7 @@
|
|||||||
uint8_t Event;
|
uint8_t Event;
|
||||||
uint8_t echoCharacters;
|
uint8_t echoCharacters;
|
||||||
uint8_t readBinary;
|
uint8_t readBinary;
|
||||||
|
uint8_t readkey;
|
||||||
|
|
||||||
const char const *offon[] = {"OFF", "ON"};
|
const char const *offon[] = {"OFF", "ON"};
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user