]> sigrok.org Git - libsigrok.git/commit
sysclk-sla5032: Fix compiler warnings (max vs. MAX).
authorUwe Hermann <redacted>
Mon, 22 Apr 2019 11:12:20 +0000 (13:12 +0200)
committerUwe Hermann <redacted>
Mon, 22 Apr 2019 11:39:48 +0000 (13:39 +0200)
commit262cb9968d41710a927cb10c99bb65d9901d6094
tree5d90e6880f78758652618c08c58f003acc703010
parent8da8c8265fabe437db254d3b659785ea2352b7dc
sysclk-sla5032: Fix compiler warnings (max vs. MAX).

  src/hardware/sysclk-sla5032/protocol.c: In function ‘la_start_acquisition’:
  src/hardware/sysclk-sla5032/protocol.c:244:8: warning: implicit declaration of function ‘max’ [-Wimplicit-function-declaration]
    pre = max(pre, 2);
          ^~~
src/hardware/sysclk-sla5032/protocol.c