// Copyright (C) 2026 Pierre Barbier <pierrebarbier741@gmail.com>
// Copyright (C) 2026 Association Exergie <association.exergie@gmail.com>
// SPDX-License-Identifier: GPL-3.0-or-late

#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;
