Działające dla Jakuba

This commit is contained in:
2026-03-31 14:00:06 +02:00
parent 0630bc998d
commit 2511ea07ba
3 changed files with 8 additions and 1 deletions
+1
View File
@@ -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;
}