Add repeater protocol and device firmware features

This commit is contained in:
Lars Nolden
2026-09-21 12:30:50 +02:00
parent 73d3ddf00c
commit a11a4b3b89
41 changed files with 7791 additions and 228 deletions
+13
View File
@@ -0,0 +1,13 @@
// NVS persistence for a SHORT LIST of config keys (see cfg_store.c).
// Current keys: "duty_ppm" (duty_budget_ppm), "delay_ms" (repeat_delay_ms).
#pragma once
#include <stdint.h>
#include <stdbool.h>
#define CFG_KEY_DUTY_PPM "duty_ppm"
#define CFG_KEY_DELAY_MS "delay_ms"
void cfg_store_init(void);
bool cfg_store_load_u32(const char *key, uint32_t *out); // true if present
bool cfg_store_save_u32(const char *key, uint32_t v); // true only after commit