mirror of
https://gitea.osmocom.org/sim-card/simtrace2.git
synced 2026-03-18 14:28:33 +03:00
Moved global Usart state into usart struct
This commit is contained in:
@@ -14,8 +14,16 @@
|
||||
#define PHONE_DATAIN 5
|
||||
#define PHONE_INT 6
|
||||
|
||||
#define CLK_MASTER 1
|
||||
#define CLK_SLAVE 0
|
||||
#define CLK_MASTER true
|
||||
#define CLK_SLAVE false
|
||||
|
||||
/* ===================================================*/
|
||||
/* Taken from iso7816_4.c */
|
||||
/* ===================================================*/
|
||||
/** Flip flop for send and receive char */
|
||||
#define USART_SEND 0
|
||||
#define USART_RCV 1
|
||||
|
||||
|
||||
extern volatile ringbuf sim_rcv_buf;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user