mirror of
https://github.com/Laxilef/OTGateway.git
synced 2025-12-25 17:43:35 +05:00
Compare commits
3 Commits
f212d9d9a8
...
1.5.5
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
14b1eac732 | ||
|
|
d16f56d280 | ||
|
|
8b50ed48c1 |
@@ -14,7 +14,7 @@ extra_configs = secrets.default.ini
|
|||||||
core_dir = .pio
|
core_dir = .pio
|
||||||
|
|
||||||
[env]
|
[env]
|
||||||
version = 1.5.4
|
version = 1.5.5
|
||||||
framework = arduino
|
framework = arduino
|
||||||
lib_deps =
|
lib_deps =
|
||||||
bblanchon/ArduinoJson@^7.3.0
|
bblanchon/ArduinoJson@^7.3.0
|
||||||
@@ -291,6 +291,11 @@ framework = arduino, espidf
|
|||||||
platform_packages = ${esp32_defaults.platform_packages}
|
platform_packages = ${esp32_defaults.platform_packages}
|
||||||
board = esp32-c6-devkitm-1
|
board = esp32-c6-devkitm-1
|
||||||
board_build.partitions = ${esp32_defaults.board_build.partitions}
|
board_build.partitions = ${esp32_defaults.board_build.partitions}
|
||||||
|
board_build.embed_txtfiles =
|
||||||
|
managed_components/espressif__esp_insights/server_certs/https_server.crt
|
||||||
|
managed_components/espressif__esp_rainmaker/server_certs/rmaker_mqtt_server.crt
|
||||||
|
managed_components/espressif__esp_rainmaker/server_certs/rmaker_claim_service_server.crt
|
||||||
|
managed_components/espressif__esp_rainmaker/server_certs/rmaker_ota_server.crt
|
||||||
lib_deps = ${esp32_defaults.lib_deps}
|
lib_deps = ${esp32_defaults.lib_deps}
|
||||||
lib_ignore =
|
lib_ignore =
|
||||||
${esp32_defaults.lib_ignore}
|
${esp32_defaults.lib_ignore}
|
||||||
|
|||||||
@@ -687,19 +687,17 @@ protected:
|
|||||||
targetMaxModulation = settings.dhw.maxModulation;
|
targetMaxModulation = settings.dhw.maxModulation;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (vars.slave.modulation.max != targetMaxModulation) {
|
if (this->setMaxModulationLevel(targetMaxModulation)) {
|
||||||
if (this->setMaxModulationLevel(targetMaxModulation)) {
|
Log.snoticeln(
|
||||||
Log.snoticeln(
|
FPSTR(L_OT), F("Set max modulation: %hhu%% (response: %hhu%%)"),
|
||||||
FPSTR(L_OT), F("Set max modulation: %hhu%% (response: %hhu%%)"),
|
targetMaxModulation, vars.slave.modulation.max
|
||||||
targetMaxModulation, vars.slave.modulation.max
|
);
|
||||||
);
|
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
Log.swarningln(
|
Log.swarningln(
|
||||||
FPSTR(L_OT), F("Failed set max modulation: %hhu%% (response: %hhu%%)"),
|
FPSTR(L_OT), F("Failed set max modulation: %hhu%% (response: %hhu%%)"),
|
||||||
targetMaxModulation, vars.slave.modulation.max
|
targetMaxModulation, vars.slave.modulation.max
|
||||||
);
|
);
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// Update modulation level
|
// Update modulation level
|
||||||
|
|||||||
@@ -328,7 +328,7 @@ struct Variables {
|
|||||||
struct {
|
struct {
|
||||||
uint8_t current = 0;
|
uint8_t current = 0;
|
||||||
uint8_t min = 0;
|
uint8_t min = 0;
|
||||||
uint8_t max = 0;
|
uint8_t max = 100;
|
||||||
} modulation;
|
} modulation;
|
||||||
|
|
||||||
struct {
|
struct {
|
||||||
|
|||||||
Reference in New Issue
Block a user