From c59b24a5618fc1a18f6cf7dcac29090acaac7b93 Mon Sep 17 00:00:00 2001 From: Martin Quarda Date: Tue, 1 Apr 2025 11:51:17 +0200 Subject: [PATCH] logs --- SW/PC/Stopwatch/log.json | 1 + SW/PC/Stopwatch/usbcardreader.py | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) create mode 100644 SW/PC/Stopwatch/log.json diff --git a/SW/PC/Stopwatch/log.json b/SW/PC/Stopwatch/log.json new file mode 100644 index 0000000..fe51488 --- /dev/null +++ b/SW/PC/Stopwatch/log.json @@ -0,0 +1 @@ +[] diff --git a/SW/PC/Stopwatch/usbcardreader.py b/SW/PC/Stopwatch/usbcardreader.py index a51675e..c149192 100644 --- a/SW/PC/Stopwatch/usbcardreader.py +++ b/SW/PC/Stopwatch/usbcardreader.py @@ -42,7 +42,6 @@ class UsbCardReader: if (( control[0] == 0 )) & (( control[2] == 40 )) & (( not receivedNumber == 0 )): self.callback(receivedNumber) receivedNumber = 0 - except KeyboardInterrupt: exit() except: