diff options
| author | Luke Hoersten <[email protected]> | 2026-06-13 21:44:36 -0500 |
|---|---|---|
| committer | Luke Hoersten <[email protected]> | 2026-06-13 21:44:36 -0500 |
| commit | cadff71f2917b1ec8b140ea54a5994b9e438c0c8 (patch) | |
| tree | b0fe2de1fac01122d13986095aa353b5811b0321 | |
| parent | 01f8c1435a9c8a238e0ea04588e18421b6b01270 (diff) | |
Switch scaffold to C; update boot TODOs to match current spec
| -rw-r--r-- | main/app_main.c (renamed from main/app_main.cpp) | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/main/app_main.cpp b/main/app_main.c index 55dbd5d..3c30497 100644 --- a/main/app_main.cpp +++ b/main/app_main.c @@ -5,7 +5,7 @@ static const char *TAG = "viewport"; -extern "C" void app_main(void) +void app_main(void) { ESP_ERROR_CHECK(nvs_flash_init()); ESP_ERROR_CHECK(esp_netif_init()); @@ -15,8 +15,8 @@ extern "C" void app_main(void) // TODO: Ethernet (ESP32-P4 EMAC + Waveshare PoE PHY) // TODO: mDNS _scrypted-viewport._tcp.local - // TODO: HTTP server: /health /config /frame /sleep /brightness - // TODO: MIPI-DSI panel init (800x480 IPS) + // TODO: HTTP server: /state /config /frame + // TODO: MIPI-DSI panel init (800x480 IPS, default portrait 480x800) // TODO: JPEG decode -> framebuffer - // TODO: Capacitive touch -> callback POST + // TODO: Capacitive touch -> outbound /state POST } |
