]> sigrok.org Git - libsigrok.git/commit
es51919: Fix a compiler warning.
authorUwe Hermann <redacted>
Mon, 29 Aug 2016 19:10:13 +0000 (21:10 +0200)
committerUwe Hermann <redacted>
Mon, 29 Aug 2016 19:51:28 +0000 (21:51 +0200)
commit693c52482a55f7eee9da11b084971560058aebef
treee8ee5942f0a07492adb5a321c628e9c40c51ec92
parent5c436a3bad14fe6edbc1c3d99006d8e81293ca30
es51919: Fix a compiler warning.

  src/lcr/es51919.c:538:73: warning: comparison of unsigned enum expression \
< 0 is always false [-Wtautological-compare]
    if ((analog->meaning->mq = parse_mq(pkt, is_secondary, pkt[2] & 0x80)) < 0)
src/lcr/es51919.c