mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-07 00:09:51 +03:00
increase max dallas sensors from 10 to 20 - #157
This commit is contained in:
@@ -718,7 +718,7 @@ void Console::load_system_commands(unsigned int context) {
|
||||
[](Shell & shell, const std::vector<std::string> & arguments) {
|
||||
if (arguments.size() == 0) {
|
||||
EMSESP::webSettingsService.read([&](WebSettings & settings) {
|
||||
for (uint8_t i = 0; i < NUM_SENSOR_NAMES; i++) {
|
||||
for (uint8_t i = 0; i < MAX_NUM_SENSOR_NAMES; i++) {
|
||||
if (!settings.sensor[i].id.isEmpty()) {
|
||||
shell.print(settings.sensor[i].id);
|
||||
shell.print(" : ");
|
||||
|
||||
Reference in New Issue
Block a user