From fd277998262d9584590e323c6a9063c53f9ee5f2 Mon Sep 17 00:00:00 2001 From: Ken Van Hoeylandt Date: Sat, 31 Aug 2024 18:10:52 +0200 Subject: [PATCH] Fix screenshot app (#57) Make it part of the correct platform build --- tactility/src/tactility.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/tactility/src/tactility.c b/tactility/src/tactility.c index e1e10365..e38f2eb2 100644 --- a/tactility/src/tactility.c +++ b/tactility/src/tactility.c @@ -44,8 +44,9 @@ extern const AppManifest wifi_connect_app; extern const AppManifest wifi_manage_app; #ifdef ESP_PLATFORM -extern const AppManifest screenshot_app; extern const AppManifest gpio_app; +#else +extern const AppManifest screenshot_app; #endif static const AppManifest* const system_apps[] = { @@ -56,9 +57,10 @@ static const AppManifest* const system_apps[] = { &system_info_app, &wifi_connect_app, &wifi_manage_app, -#ifdef ESP_PLATFORM // Screenshots don't work yet on ESP32 +#ifdef ESP_PLATFORM &gpio_app, - &screenshot_app, +#else + &screenshot_app, // Screenshots don't work yet on ESP32 #endif };