X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;f=hardware%2Fcommon%2Fdmm%2Fes51922.c;h=09563f93610fec812596f516c296fac794706b30;hb=f8e76e2e74bf09024af50d68a0e90a558be126b9;hp=fcb4ae605e9a89c437c9a4bfbd2e05a75d7900e0;hpb=29a27196a13de2ffd9b671185e4b464b9db9b549;p=libsigrok.git diff --git a/hardware/common/dmm/es51922.c b/hardware/common/dmm/es51922.c index fcb4ae60..09563f93 100644 --- a/hardware/common/dmm/es51922.c +++ b/hardware/common/dmm/es51922.c @@ -304,6 +304,8 @@ static void handle_flags(struct sr_datafeed_analog *analog, analog->mqflags |= SR_MQFLAG_DC; if (info->is_auto) analog->mqflags |= SR_MQFLAG_AUTORANGE; + if (info->is_diode) + analog->mqflags |= SR_MQFLAG_DIODE; if (info->is_hold) /* * Note: HOLD only affects the number displayed on the LCD,