rcbench
Servo and ESC test bench: panel, IOmcu and shared C
Toggle main menu visibility
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
19
extern
"C"
{
20
#endif
21
25
const
kst_store_io_t
*
kst_files_io
(
bool
held);
26
29
bool
kst_files_dir
(
void
);
30
32
void
kst_files_path
(
const
char
*name,
char
*out,
size_t
out_size);
33
34
#ifdef __cplusplus
35
}
36
#endif
kst_files_path
void kst_files_path(const char *name, char *out, size_t out_size)
Definition
kst_files.c:29
kst_files_io
const kst_store_io_t * kst_files_io(bool held)
Definition
kst_files.c:190
kst_files_dir
bool kst_files_dir(void)
Definition
kst_files.c:59
kst_store.h
Servo configuration files on the card: names, saving, listing, loading.
kst_store_io_t
The card.
Definition
kst_store.h:154
firmware
panel
main
kst_files.h
Generated by
1.18.0