fix PZEM measurement type

This commit is contained in:
King Kévin 2016-10-15 14:16:12 +02:00
parent d7168937af
commit a919c34d5d
1 changed files with 1 additions and 1 deletions

View File

@ -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 */
};