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:
Wolfram Sang 2016-01-03 22:27:45 +01:00 committed by Uwe Hermann
parent ee2e9be21b
commit 3591481e87
2 changed files with 1 additions and 2 deletions

View File

@ -280,7 +280,6 @@ static void parse_flags(const uint8_t *buf, struct vc870_info *info)
/* Byte 22: Always '\n' (newline, 0x0a, 10) */
info->is_auto = !info->is_manu;
info->is_rms = TRUE;
}
static void handle_flags(struct sr_datafeed_analog_old *analog,

View File

@ -1202,7 +1202,7 @@ struct vc870_info {
gboolean is_light, is_usb, is_warning, is_auto_power, is_misplug_warn;
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);