From 84442dcd39fbd0930c13c8dc79ffcc23f6b20ccc Mon Sep 17 00:00:00 2001 From: Jason2866 <24528715+Jason2866@users.noreply.github.com> Date: Mon, 20 Feb 2023 22:36:34 +0100 Subject: [PATCH] OTA_URL safeguard (#18010) --- tasmota/my_user_config.h | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/tasmota/my_user_config.h b/tasmota/my_user_config.h index eae01fcd9..d2f6cd513 100644 --- a/tasmota/my_user_config.h +++ b/tasmota/my_user_config.h @@ -1198,6 +1198,14 @@ //#define FIRMWARE_IR // Create tasmota-ir with IR full protocols activated, and many sensors disabled //#define FIRMWARE_MINIMAL // Create tasmota-minimal as intermediate firmware for OTA-MAGIC +/*********************************************************************************************\ + * Safe guard when needed defines are not done in Platformio * +\*********************************************************************************************/ + +#ifndef OTA_URL + #define OTA_URL +#endif + /*********************************************************************************************\ * User configurable items override * \*********************************************************************************************/