Disable register keyword to reduce compiler warnings

Minor formatting improvements
"ps" string optimization
Removed travis envs
This commit is contained in:
cschwinne
2022-12-03 20:55:17 +01:00
parent 33f4e8cf73
commit efc476e50b
8 changed files with 20 additions and 44 deletions

View File

@@ -55,8 +55,8 @@ Also, while in the `platformio.ini` file, you must change the environment setup
Comment out the line described below:
```ini
# Travis CI binaries (comment this out when building for single board)
; default_envs = travis_esp8266, esp01, esp01_1m_ota, travis_esp32
# Release binaries
; default_envs = nodemcuv2, esp8266_2m, esp01_1m_full, esp32dev, esp32_eth, esp32s2_saola, esp32c3
```
and UNCOMMENT the following line in the 'Single binaries' section:
```ini

View File

@@ -750,7 +750,7 @@ public:
StaticJsonDocument<64> root;
char str[64];
sprintf_P(str, PSTR("%d~%d~%s"), presetLow, presetHigh, increase?"":"-");
root[F("ps")] = str;
root["ps"] = str;
deserializeState(root.as<JsonObject>(), CALL_MODE_BUTTON_PRESET);
/*
String apireq = F("win&PL=~");