mirror of
https://github.com/IoTManagerProject/IoTManager.git
synced 2026-03-26 14:12:16 +03:00
Исправляем опечатк в модуле AhtXX
This commit is contained in:
@@ -88,7 +88,7 @@ void* getAPI_AhtXX(String subtype, String param) {
|
||||
|
||||
if (ahts.find(addr) == ahts.end()) {
|
||||
int shtType;
|
||||
jsonRead(param, "type", shtType);
|
||||
jsonRead(param, "shtType", shtType);
|
||||
|
||||
ahts[addr] = new AHTxx(hexStringToUint8(addr), (AHTXX_I2C_SENSOR)shtType);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user