1
0
mirror of https://github.com/esphome/esphome.git synced 2024-10-07 11:20:58 +01:00
This commit is contained in:
Otto Winter 2019-10-19 21:59:55 +02:00
parent 9f022a7433
commit 872b468415
No known key found for this signature in database
GPG Key ID: DB66C0BE6013F97E
2 changed files with 7 additions and 7 deletions

View File

@ -12,7 +12,7 @@ static const uint16_t SHTCX_COMMAND_READ_ID_REGISTER = 0xEFC8;
static const uint16_t SHTCX_COMMAND_SOFT_RESET = 0x805D; static const uint16_t SHTCX_COMMAND_SOFT_RESET = 0x805D;
static const uint16_t SHTCX_COMMAND_POLLING_H = 0x7866; static const uint16_t SHTCX_COMMAND_POLLING_H = 0x7866;
inline const char* to_string(SHTCXType type) { inline const char *to_string(SHTCXType type) {
switch (type) { switch (type) {
case SHTCX_TYPE_SHTC3: case SHTCX_TYPE_SHTC3:
return "SHTC3"; return "SHTC3";