mirror of
https://github.com/arendst/Tasmota.git
synced 2025-04-24 23:07:17 +00:00
Update tasmota.ino
Keep hackbox commit insert possibility
This commit is contained in:
parent
2e89370f1e
commit
405da3ee3f
@ -68,8 +68,6 @@
|
||||
// Structs
|
||||
#include "settings.h"
|
||||
|
||||
const char my_image[] PROGMEM = "(" CODE_IMAGE_STR ")";
|
||||
|
||||
/*********************************************************************************************\
|
||||
* Global variables
|
||||
\*********************************************************************************************/
|
||||
@ -159,6 +157,7 @@ myio my_module; // Active copy of Module GPIOs (17 x
|
||||
gpio_flag my_module_flag; // Active copy of Template GPIO flags
|
||||
StateBitfield global_state; // Global states (currently Wifi and Mqtt) (8 bits)
|
||||
char my_version[33]; // Composed version string
|
||||
char my_image[33]; // Code image and/or commit
|
||||
char my_hostname[33]; // Composed Wifi hostname
|
||||
char mqtt_client[TOPSZ]; // Composed MQTT Clientname
|
||||
char mqtt_topic[TOPSZ]; // Composed MQTT topic
|
||||
@ -199,7 +198,8 @@ void setup(void)
|
||||
if (VERSION & 0xff) { // Development or patched version 6.3.0.10
|
||||
snprintf_P(my_version, sizeof(my_version), PSTR("%s.%d"), my_version, VERSION & 0xff);
|
||||
}
|
||||
|
||||
snprintf_P(my_image, sizeof(my_image), PSTR("(%s)"), CODE_IMAGE_STR);
|
||||
|
||||
SettingsLoad();
|
||||
SettingsDelta();
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user