1. 11 Nov, 2017 1 commit
  2. 15 Feb, 2017 1 commit
    • Sven Schnelle's avatar
      Fix analog output display · 6ca578fe
      Sven Schnelle authored
      I've seen the following output from sigrok-cli:
      
      CH1: 478.720 mV
      CH1: -514 mV
      CH1: -0 V
      
      I added some debug, and it seems like the digits value isn't reset
      to the actual value after calling sr_analog_si_prefix_friendly():
      
      using 6 digits
      value2 0.478720 digits 6
      value2 -0.513536 digits 3
      value2 -0.487424 digits 0
      
      This commit fixes this by resetting the value to the actual value before.
      Signed-off-by: default avatarSven Schnelle <svens@stackframe.org>
      6ca578fe
  3. 17 Oct, 2016 1 commit
  4. 28 Aug, 2016 1 commit
  5. 26 Jun, 2016 1 commit
    • Aurelien Jacobs's avatar
      analog: add support for negative number of digits · 28c95cc6
      Aurelien Jacobs authored
      When a meter display 105.2 kΩ, libsigrok will return 105200 Ω
      but it is really valuable to know that the last 2 digits are not
      significant, so encoding.digits should be set to -2.
      This would allow a sigrok client to display 105200 as 105.2 k
      instead of 105.200 k.
      28c95cc6
  6. 17 Jun, 2016 2 commits
  7. 23 Apr, 2016 1 commit
  8. 29 Nov, 2015 2 commits
    • Stefan Brüns's avatar
      output: fix options memory leak · da3d141f
      Stefan Brüns authored
      da3d141f
    • Stefan Brüns's avatar
      output/analog: track and free memory for float conversion buffer · 2dbe445d
      Stefan Brüns authored
      ==18779== 800,000 bytes in 196 blocks are definitely lost in loss record 29 of 29
      ==18779==    at 0x4C29110: malloc (in /usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so)
      ==18779==    by 0x4E635C3: receive (analog.c:319)
      ==18779==    by 0x40870B: datafeed_in (session.c:316)
      ==18779==    by 0x4E59D4E: sr_session_send (session.c:1201)
      ==18779==    by 0x4E59F8B: sr_session_send (session.c:1159)
      ==18779==    by 0x4E62595: send_chunk (wav.c:234)
      ==18779==    by 0x4E62A06: process_buffer (wav.c:290)
      ==18779==    by 0x40954A: load_input_file_module (input.c:123)
      ==18779==    by 0x4097AB: load_input_file (input.c:157)
      ==18779==    by 0x40531E: main (main.c:288)
      2dbe445d
  9. 08 Nov, 2015 1 commit
  10. 24 Oct, 2015 1 commit
  11. 20 Oct, 2015 2 commits
  12. 20 Sep, 2015 1 commit
  13. 13 Sep, 2015 1 commit
  14. 28 Aug, 2015 3 commits
  15. 16 Aug, 2015 1 commit
    • Daniel Elstner's avatar
      Build: Set local include directories in Makefile.am · c1aae900
      Daniel Elstner authored
      Move the include flags for files in the source tree from
      configure.ac to Makefile.am where they belong.  Also use
      AM_CPPFLAGS instead of CFLAGS/CXXFLAGS to make sure the
      files in the build/source tree are always picked up first.
      
      Also, remove the include/libsigrok sub-directory from the
      search path, thereby making the <libsigrok/> prefix mandatory
      when building libsigrok itself.  This matches the convention
      already imposed on users of the library.
      c1aae900
  16. 15 Aug, 2015 1 commit
  17. 24 Mar, 2015 1 commit
  18. 27 Jan, 2015 1 commit
  19. 22 Nov, 2014 1 commit
    • Uwe Hermann's avatar
      Use g_malloc0() consistently, simplify error handling. · 91219afc
      Uwe Hermann authored
      Use g_malloc0() for small allocations and assume they always
      succeed. Simplify error handling in a few places accordingly.
      
      Don't always sanity-check parameters for non-public (SR_PRIV)
      functions, we require the developers to invoke them correctly.
      This allows further error handling simplifications.
      91219afc
  20. 19 Nov, 2014 1 commit
  21. 18 Nov, 2014 1 commit
  22. 13 Nov, 2014 1 commit
  23. 21 Oct, 2014 1 commit
    • Janne Huttunen's avatar
      Export LCR meter 'auto' bits as config keys instead of mqflags. · a42a39ac
      Janne Huttunen authored
      The automatic selections of the measured quantity and equivalent circuit
      model are more part of the configuration of the meter than attributes
      of the measurement result. To reflect this, model them as config keys
      instead of mqflags. This allows a driver that supports remote control to
      implement 'set' method for them and has the additional benefit of saveing
      two flag bits.
      a42a39ac
  24. 12 Oct, 2014 1 commit
  25. 01 Aug, 2014 1 commit
  26. 28 Jul, 2014 1 commit
  27. 26 Jul, 2014 1 commit
  28. 22 Jul, 2014 1 commit
  29. 05 Jul, 2014 1 commit
  30. 20 Apr, 2014 1 commit
  31. 19 Apr, 2014 1 commit
  32. 25 Mar, 2014 2 commits
  33. 01 Jan, 2014 1 commit
  34. 27 Dec, 2013 1 commit