]> sigrok.org Git - libsigrok.git/blobdiff - src/dmm/es519xx.c
output/csv: use intermediate time_t var, silence compiler warning
[libsigrok.git] / src / dmm / es519xx.c
index c11343263f6380d179bdab703a81b63588d1058e..202b64859a9986105e2674e0367e9f273ac02592 100644 (file)
@@ -15,8 +15,7 @@
  * GNU General Public License for more details.
  *
  * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA
+ * along with this program; if not, see <http://www.gnu.org/licenses/>.
  */
 
 /*
@@ -503,7 +502,7 @@ static void handle_flags(struct sr_datafeed_analog *analog,
        if (info->is_auto)
                analog->meaning->mqflags |= SR_MQFLAG_AUTORANGE;
        if (info->is_diode)
-               analog->meaning->mqflags |= SR_MQFLAG_DIODE;
+               analog->meaning->mqflags |= SR_MQFLAG_DIODE | SR_MQFLAG_DC;
        if (info->is_hold)
                /*
                * Note: HOLD only affects the number displayed on the LCD,