mirror of
https://github.com/esphome/esphome.git
synced 2024-11-10 01:07:45 +01:00
Fix EzoCommandType enum (#4593)
* Fix EzoCommandType enum Assign explicit value to EZO_CALIBRATION, and rescale all subsequent values. * Remove enum values --------- Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
This commit is contained in:
parent
06f83bf1c0
commit
1f50bd0649
1 changed files with 7 additions and 7 deletions
|
@ -12,14 +12,14 @@ static const char *const TAG = "ezo.sensor";
|
|||
|
||||
enum EzoCommandType : uint8_t {
|
||||
EZO_READ = 0,
|
||||
EZO_LED = 1,
|
||||
EZO_DEVICE_INFORMATION = 2,
|
||||
EZO_SLOPE = 3,
|
||||
EZO_LED,
|
||||
EZO_DEVICE_INFORMATION,
|
||||
EZO_SLOPE,
|
||||
EZO_CALIBRATION,
|
||||
EZO_SLEEP = 4,
|
||||
EZO_I2C = 5,
|
||||
EZO_T = 6,
|
||||
EZO_CUSTOM = 7
|
||||
EZO_SLEEP,
|
||||
EZO_I2C,
|
||||
EZO_T,
|
||||
EZO_CUSTOM
|
||||
};
|
||||
|
||||
enum EzoCalibrationType : uint8_t { EZO_CAL_LOW = 0, EZO_CAL_MID = 1, EZO_CAL_HIGH = 2 };
|
||||
|
|
Loading…
Reference in a new issue