From 2511ea07ba1050a9cf924b41741800591db451c6 Mon Sep 17 00:00:00 2001 From: Zychlix Date: Tue, 31 Mar 2026 14:00:06 +0200 Subject: [PATCH] =?UTF-8?q?Dzia=C5=82aj=C4=85ce=20dla=20Jakuba?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .idea/jakub.iml | 2 +- .idea/vcs.xml | 6 ++++++ Core/Src/main.c | 1 + 3 files changed, 8 insertions(+), 1 deletion(-) create mode 100644 .idea/vcs.xml diff --git a/.idea/jakub.iml b/.idea/jakub.iml index f08604b..4c94235 100644 --- a/.idea/jakub.iml +++ b/.idea/jakub.iml @@ -1,2 +1,2 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/.idea/vcs.xml b/.idea/vcs.xml new file mode 100644 index 0000000..94a25f7 --- /dev/null +++ b/.idea/vcs.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/Core/Src/main.c b/Core/Src/main.c index cc12012..0795d95 100644 --- a/Core/Src/main.c +++ b/Core/Src/main.c @@ -81,6 +81,7 @@ void USB_CDC_RxHandler(uint8_t* Buf, uint32_t Len) integration_time = test; INTERVAL_TIMER.Instance->ARR = integration_time * 4 - 1; SET_BIT(INTERVAL_TIMER.Instance->EGR,TIM_EGR_UG); + last_count = EXT_TIMER.Instance->CNT; }