Implement native ESP-IDF radar firmware
Some checks failed
build / host-tests (push) Has been cancelled
build / esp-idf (push) Has been cancelled

This commit is contained in:
2026-07-21 07:47:02 +00:00
parent 8a43efb3f6
commit b473ed4369
28 changed files with 3770 additions and 1 deletions

17
main/ui.h Normal file
View File

@@ -0,0 +1,17 @@
#pragma once
#include <stdbool.h>
#include <stdint.h>
#include "radar_service.h"
typedef struct {
bool sound_enabled;
bool touch_available;
uint8_t brightness_percent;
void (*sound_changed)(bool enabled);
void (*brightness_changed)(uint8_t percent, bool persist);
} ui_config_t;
void ui_init(const ui_config_t *config);
void ui_update(const radar_snapshot_t *snapshot);