almost done dma

This commit is contained in:
2026-05-07 16:03:01 +03:00
parent ea8663e247
commit 1be17330fa
22 changed files with 27943 additions and 26697 deletions
+3
View File
@@ -129,6 +129,9 @@ void CP_FilterState(void) {
}
void CP_Loop(void) {
static uint32_t tick;
if ((int32_t)(HAL_GetTick() - tick) < 1) return;
tick = HAL_GetTick();
static uint8_t initialized = 0;
static CP_State_t prev_state = EV_STATE_ACQUIRING;
static uint8_t prev_duty = 0;