Fix NeoPool filtration mode display (#19801)

This commit is contained in:
Norbert Richter 2023-10-19 18:01:56 +02:00 committed by GitHub
parent e3253fea8f
commit 1f8cd6a259
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

View File

@ -15,6 +15,7 @@ All notable changes to this project will be documented in this file.
- Prepare I2C drivers for bus2 support - Prepare I2C drivers for bus2 support
### Fixed ### Fixed
- NeoPool filtration mode display
- ESP32 I2C allow bus2 support when bus1 is not enabled - ESP32 I2C allow bus2 support when bus1 is not enabled
### Removed ### Removed

View File

@ -1885,7 +1885,7 @@ void NeoPoolShow(bool json)
} }
// Filtration mode // Filtration mode
GetTextIndexed(stemp, sizeof(stemp), NeoPoolGetData(MBF_PAR_FILT_MODE) < MBV_PAR_FILT_INTELLIGENT ? NeoPoolGetData(MBF_PAR_FILT_MODE) : nitems(kNeoPoolFiltrationMode)-1, kNeoPoolFiltrationMode); GetTextIndexed(stemp, sizeof(stemp), NeoPoolGetData(MBF_PAR_FILT_MODE) <= MBV_PAR_FILT_INTELLIGENT ? NeoPoolGetData(MBF_PAR_FILT_MODE) : nitems(kNeoPoolFiltrationMode)-1, kNeoPoolFiltrationMode);
WSContentSend_PD(HTTP_SNS_NEOPOOL_FILT_MODE, neopool_type, stemp); WSContentSend_PD(HTTP_SNS_NEOPOOL_FILT_MODE, neopool_type, stemp);
// Relays // Relays