dmm: vc870: drop unused variable
There is no status bit for RMS. We know about RMS if certain modes are active. So, drop this superfluous variable. Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
This commit is contained in:
parent
ee2e9be21b
commit
3591481e87
|
@ -280,7 +280,6 @@ static void parse_flags(const uint8_t *buf, struct vc870_info *info)
|
||||||
/* Byte 22: Always '\n' (newline, 0x0a, 10) */
|
/* Byte 22: Always '\n' (newline, 0x0a, 10) */
|
||||||
|
|
||||||
info->is_auto = !info->is_manu;
|
info->is_auto = !info->is_manu;
|
||||||
info->is_rms = TRUE;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
static void handle_flags(struct sr_datafeed_analog_old *analog,
|
static void handle_flags(struct sr_datafeed_analog_old *analog,
|
||||||
|
|
|
@ -1202,7 +1202,7 @@ struct vc870_info {
|
||||||
gboolean is_light, is_usb, is_warning, is_auto_power, is_misplug_warn;
|
gboolean is_light, is_usb, is_warning, is_auto_power, is_misplug_warn;
|
||||||
gboolean is_lo, is_hi, is_open2;
|
gboolean is_lo, is_hi, is_open2;
|
||||||
|
|
||||||
gboolean is_frequency, is_dual_display, is_auto, is_rms;
|
gboolean is_frequency, is_dual_display, is_auto;
|
||||||
};
|
};
|
||||||
|
|
||||||
SR_PRIV gboolean sr_vc870_packet_valid(const uint8_t *buf);
|
SR_PRIV gboolean sr_vc870_packet_valid(const uint8_t *buf);
|
||||||
|
|
Loading…
Reference in New Issue