]> sigrok.org Git - libsigrok.git/commit
scpi-pps: Fix a compiler warning.
authorUwe Hermann <redacted>
Thu, 7 May 2015 00:52:00 +0000 (02:52 +0200)
committerUwe Hermann <redacted>
Thu, 7 May 2015 00:59:28 +0000 (02:59 +0200)
commitc80cf3e02eaa8e3154a69a7cae48c361d45ebb4f
tree4fa015fc7cc3fb5adedce9a6bea69857c55cc4c6
parent8cb5affe00fbe43fe3587090d1cfcaf6f4030856
scpi-pps: Fix a compiler warning.

    CC       src/hardware/scpi-pps/profiles.lo
  src/hardware/scpi-pps/profiles.c:67:2: warning: missing initializer
  for field 'frequency' of 'const struct channel_spec'
  [-Wmissing-field-initializers]
    { "1", { 0, 60, 0.0001 }, { 0, 25, 0.1 } },
    ^
  In file included from src/hardware/scpi-pps/profiles.c:24:0:
  src/hardware/scpi-pps/protocol.h:106:8: note: 'frequency' declared
  here
    float frequency[3];
          ^
src/hardware/scpi-pps/profiles.c