rcbench
Servo and ESC test bench: panel, IOmcu and shared C
Loading...
Searching...
No Matches
kst_files.h
1/*
2 * The card as the servo programmer's files see it: the 5 functions of
3 * kst_store_io_t over the folder BENCH/KST/CONF of the mounted card
4 * (KST_STORE_DIR).
5 *
6 * Every call blocks for as long as the card takes. They run on the task
7 * that owns the card, never on the render loop.
8 *
9 * SPDX-License-Identifier: MIT
10 */
11#pragma once
12
13#include <stdbool.h>
14#include <stddef.h>
15
16#include "kst_store.h"
17
18#ifdef __cplusplus
19extern "C" {
20#endif
21
25const kst_store_io_t *kst_files_io(bool held);
26
29bool kst_files_dir(void);
30
32void kst_files_path(const char *name, char *out, size_t out_size);
33
34#ifdef __cplusplus
35}
36#endif
void kst_files_path(const char *name, char *out, size_t out_size)
Definition kst_files.c:29
const kst_store_io_t * kst_files_io(bool held)
Definition kst_files.c:190
bool kst_files_dir(void)
Definition kst_files.c:59
Servo configuration files on the card: names, saving, listing, loading.
The card.
Definition kst_store.h:154