From eeff317abe675bd89551ff9a081b1b8325f4f16c Mon Sep 17 00:00:00 2001 From: Rune Harlyk Date: Thu, 14 Nov 2024 15:38:33 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=A7=BC=20Makes=20appname=20be=20a=20const?= =?UTF-8?q?=20char*?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- esp32/include/spot.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/esp32/include/spot.h b/esp32/include/spot.h index d66dfe5..4773acd 100644 --- a/esp32/include/spot.h +++ b/esp32/include/spot.h @@ -100,7 +100,7 @@ class Spot { bool updatedMotion = false; - String _appName = APP_NAME; + const char *_appName = APP_NAME; const u_int16_t _numberEndpoints = 115; const u_int32_t _maxFileUpload = 2300000; // 2.3 MB const uint16_t _port = 80;