mirror of
https://gitea.osmocom.org/sim-card/simtrace2.git
synced 2026-06-16 07:48:37 +03:00
c0bd7f0aaa
We don't want to call into the bulk of card_emu.c from interrupt context, so let's introduce a ring buffer as a softwre-FIFO between the USART receiving a byte and the processing of that byte in card_emu.c, which is then performed from the main loop outside interrupt context.