src.nth.io/

summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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
}