Manages the 1-wire bus
Dependents: oldheating heating
Diff: web/web-1wire-query.c
- Revision:
- 10:b4e0b4c4e045
- Parent:
- 2:79cad6a51fd0
--- a/web/web-1wire-query.c Wed Jun 10 11:41:03 2020 +0000 +++ b/web/web-1wire-query.c Wed Jun 10 17:02:21 2020 +0000 @@ -21,6 +21,10 @@ if (HttpSameStr(pName, "rom1")) { char rom[8]; DeviceParseAddress(pValue, rom); DS18B20RomSetters[1](rom); } if (HttpSameStr(pName, "rom2")) { char rom[8]; DeviceParseAddress(pValue, rom); DS18B20RomSetters[2](rom); } if (HttpSameStr(pName, "rom3")) { char rom[8]; DeviceParseAddress(pValue, rom); DS18B20RomSetters[3](rom); } + if (HttpSameStr(pName, "rom4")) { char rom[8]; DeviceParseAddress(pValue, rom); DS18B20RomSetters[4](rom); } + if (HttpSameStr(pName, "rom5")) { char rom[8]; DeviceParseAddress(pValue, rom); DS18B20RomSetters[5](rom); } + if (HttpSameStr(pName, "rom6")) { char rom[8]; DeviceParseAddress(pValue, rom); DS18B20RomSetters[6](rom); } + if (HttpSameStr(pName, "rom7")) { char rom[8]; DeviceParseAddress(pValue, rom); DS18B20RomSetters[7](rom); } if (HttpSameStr(pName, "onewiretrace" )) ChgTraceOneWire(); }