rs9lcd: Add missing 'break;'
A break was missing for "case MODE_AMP_WIDTH:" in sr_rs9lcd_parse(). Signed-off-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
This commit is contained in:
parent
f4abaa9f6b
commit
cbc8cbd8bb
|
@ -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. */
|
||||
|
|
Loading…
Reference in New Issue