Commit da4e4938f4cc38dd6bf95ac7510fb9e9344f3de6

Authored by Jeroen88
1 parent 483ed467

README.md typo

Showing 1 changed file with 1 additions and 1 deletions
README.md
@@ -34,7 +34,7 @@ Start communicating with the boiler (or HVAC) e.g. request activation of the ser @@ -34,7 +34,7 @@ Start communicating with the boiler (or HVAC) e.g. request activation of the ser
34 uint8_t primaryFlags = uint8_t(OpenTherm::STATUS_FLAGS::PRIMARY_DHW_ENABLE); // Enable Domestic Hot Water 34 uint8_t primaryFlags = uint8_t(OpenTherm::STATUS_FLAGS::PRIMARY_DHW_ENABLE); // Enable Domestic Hot Water
35 primaryFlags |= uint8_t(OpenTherm::STATUS_FLAGS::PRIMARY_CH_ENABLE); // Enable Central Heating 35 primaryFlags |= uint8_t(OpenTherm::STATUS_FLAGS::PRIMARY_CH_ENABLE); // Enable Central Heating
36 primaryFlags |= uint8_t(OpenTherm::STATUS_FLAGS::PRIMARY_COOLING_ENABLE); // Enable cooling (of your boiler, if available) 36 primaryFlags |= uint8_t(OpenTherm::STATUS_FLAGS::PRIMARY_COOLING_ENABLE); // Enable cooling (of your boiler, if available)
37 -primaryFlags | =uint8_t(OpenTherm::STATUS_FLAGS::PRIMARY_OTC_ENABLE); // Enable Outside Temperature Compensation (ifa available in your boiler) 37 +primaryFlags |= uint8_t(OpenTherm::STATUS_FLAGS::PRIMARY_OTC_ENABLE); // Enable Outside Temperature Compensation (ifa available in your boiler)
38 uint8_t statusFlags; // Flags returned by the boiler will be stored into this variable 38 uint8_t statusFlags; // Flags returned by the boiler will be stored into this variable
39 thermostat.status(primaryFlags, statusFlags); 39 thermostat.status(primaryFlags, statusFlags);
40 ``` 40 ```