Исправляем опечатк в модуле AhtXX

This commit is contained in:
2025-05-13 22:11:54 +03:00
parent 1ead6a7e02
commit 9b54a179e5

View File

@@ -88,7 +88,7 @@ void* getAPI_AhtXX(String subtype, String param) {
if (ahts.find(addr) == ahts.end()) { if (ahts.find(addr) == ahts.end()) {
int shtType; int shtType;
jsonRead(param, "type", shtType); jsonRead(param, "shtType", shtType);
ahts[addr] = new AHTxx(hexStringToUint8(addr), (AHTXX_I2C_SENSOR)shtType); ahts[addr] = new AHTxx(hexStringToUint8(addr), (AHTXX_I2C_SENSOR)shtType);