commit
b5e98ba1bc
@ -188,7 +188,7 @@ mbus_variable_vif vif_table[] = {
|
||||
{ 0x6E, 1.0e0, "Units for H.C.A.", "H.C.A." },
|
||||
|
||||
/* E110 1111 Reserved */
|
||||
{ 0x6E, 0.0, "Reserved", "Reserved" },
|
||||
{ 0x6F, 0.0, "Reserved", "Reserved" },
|
||||
|
||||
/* E111 00nn Averaging Duration s */
|
||||
{ 0x70, 1.0, "s", "Averaging Duration" }, /* seconds */
|
||||
@ -974,7 +974,8 @@ mbus_vif_unit_normalize(int vif, double value, char **unit_out, double *value_ou
|
||||
}
|
||||
}
|
||||
|
||||
*unit_out = strdup("Unknown (VIF=0x%.2X)");
|
||||
MBUS_ERROR("%s: Unknown VIF 0x%03X\n", __PRETTY_FUNCTION__, newVif);
|
||||
*unit_out = strdup("Unknown (VIF=0x%.02X)");
|
||||
*quantity_out = strdup("Unknown");
|
||||
exponent = 0.0;
|
||||
*value_out = 0.0;
|
||||
|
Loading…
x
Reference in New Issue
Block a user