consistant naming for global_state and implemented

This commit is contained in:
Pierre Barbier committed 2026-06-02 17:54:15 +02:00
1 parent eba2bb6f99
commit bca9d8816c
2 files changed
+14 -6

No files matched your search

+16
View File
@@ -0,0 +1,16 @@
// Copyright (C) 2026 Pierre Barbier <pierrebarbier741@gmail.com>
// Copyright (C) 2026 Association Exergie <association.exergie@gmail.com>
// SPDX-License-Identifier: GPL-3.0-or-later
#include <ring_buffer.h>
typedef enum {
SYNC_OK,
SYNC_PENDING,
SYNC_NOT_OK
} sync_state;
typedef struct {
sync_state sync;
ring_buffer_t crank_RB;
ring_buffer_t cam_RB;
} global_state_t;