Fixed critical ring buffer underflow bug

This commit is contained in:
2026-06-03 19:11:50 +02:00
parent f8b73ea1bc
commit 6f0009cfbb
2 changed files with 4 additions and 2 deletions

View File

@@ -7,7 +7,7 @@
#include <stdint.h>
#define MAX_CAM_MISS 2
#define SPARK_ADVANCE 20
#define SPARK_ADVANCE 40
#define INJECTION_PHASE 0
typedef enum { SYNC_OK = 0, SYNC_PENDING = 1, SYNC_NOT_OK = 2 } sync_state_t;