fix PZEM measurement type
This commit is contained in:
parent
d7168937af
commit
a919c34d5d
|
@ -42,7 +42,7 @@ struct sensor_pzem_measurement_t {
|
|||
union measurement_t {
|
||||
float voltage; /**< measured voltage in volts */
|
||||
float current; /**< measured current in amperes */
|
||||
float power; /**< measured power in watts */
|
||||
uint16_t power; /**< measured power in watts */
|
||||
uint32_t energy; /**< measured energy in watts/hour (24 bits) */
|
||||
} value; /**< measurement value */
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue