Commit e89a5d4033da14bbbc85d2cd134eba173c73459c
1 parent
fe412b2c
Changed s8 into int8_t in README.md
Showing
1 changed file
with
1 additions
and
1 deletions
README.md
| ... | ... | @@ -44,7 +44,7 @@ All these functions take an OpenTherm DATA-ID as _first_ parameter. The DATA-ID |
| 44 | 44 | - ```uint16_t``` marked as u16 in the comments |
| 45 | 45 | - ```int16_t``` marked as s16 |
| 46 | 46 | - ```float``` marked as f8.8 (because actually it is an ```int16_t / 256.0```) |
| 47 | -- Two times a ```uint8_t``` marked as flag8, u8 or s8. If it is a flag the meaning of bits is defined in an enum class with a name ending in _FLAG, e.g. ```enum class STATUS_FLAGS``` | |
| 47 | +- Two times an ```uint8_t``` marked as flag8 or u8, or an ```int8_t``` as s8. If it is a flag the meaning of bits is defined in an enum class with a name ending in _FLAG, e.g. ```enum class STATUS_FLAGS``` | |
| 48 | 48 | |
| 49 | 49 | ## Error handling |
| 50 | 50 | The function ```error()``` is used to get information about the last call to one of the functions ```read()```, ```write()``` or ```readWrite()```. All these functions return ```false``` if an | ... | ... |