]> sigrok.org Git - libsigrok.git/commitdiff
rs9lcd: Add missing 'break;'
authorAlexandru Gagniuc <redacted>
Mon, 31 Dec 2012 21:14:49 +0000 (15:14 -0600)
committerUwe Hermann <redacted>
Mon, 31 Dec 2012 21:26:43 +0000 (22:26 +0100)
A break was missing for "case MODE_AMP_WIDTH:" in sr_rs9lcd_parse().

Signed-off-by: Alexandru Gagniuc <redacted>
hardware/common/dmm/rs9lcd.c

index a86c9f20f5a0d1c498447421059671bdfa1203de..31bc5c988c3ae6e870c00f199c15cbfbff09f3d7 100644 (file)
@@ -412,6 +412,7 @@ SR_PRIV int sr_rs9lcd_parse(const uint8_t *buf, float *floatval,
        case MODE_AMP_WIDTH:
                analog->mq = SR_MQ_PULSE_WIDTH;
                analog->unit = SR_UNIT_SECOND;
+               break;
        case MODE_TEMP:
                analog->mq = SR_MQ_TEMPERATURE;
                /* We need to reparse. */