Uwe Hermann
ddfe99d92f
motech-lps-30x: Convert to SR_DF_ANALOG.
2016-06-17 15:13:11 +02:00
Lars-Peter Clausen
8aafc5e64d
motech-lps-30x: Use software limit helpers
...
Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
2016-05-09 12:12:15 +02:00
Uwe Hermann
695dc859c1
dev_acquisition_{start,stop}(): Drop duplicate 'cb_data' parameter.
...
These are always 'sdi', which is passed in already.
2016-04-29 19:20:53 +02:00
Uwe Hermann
5faebab290
SR_DF_ANALOG_OLD and sr_datafeed_analog_old renames.
...
Rename SR_DF_ANALOG to SR_DF_ANALOG_OLD, and 'struct sr_datafeed_analog'
to 'struct sr_datafeed_analog_old'.
2015-10-20 23:32:45 +02:00
Daniel Elstner
6ec6c43b47
Build: Include <config.h> first in all source files
...
Since Autoconf places some important feature flags only into the
configuration header, it is necessary to include it globally to
guarantee a consistent build.
2015-09-13 18:54:46 +02:00
Daniel Elstner
6433156c32
Fix log varargs bugs indicated by -Wformat
...
A few of these were pretty serious, like missing arguments,
passing integers where a string was expected, and so on.
In some places, change the types used by the code rather than
just the format strings.
2015-09-13 02:29:38 +02:00
Uwe Hermann
7237e91262
portability: Use g_strerror() in favor of strerror().
2015-09-09 15:20:10 +02:00
Uwe Hermann
dc89faeace
Reduce unnecessarily high indentation level in some places.
2015-04-01 00:23:25 +02:00
Uwe Hermann
515ab0889e
Various #include file cosmetic fixes.
...
Generally include system headers before local headers, unless there's
a technical reason to use another order.
2015-03-24 19:30:16 +01:00
Uwe Hermann
93b118da4f
Consistency and whitespace fixes for switch statements.
2015-03-22 02:15:30 +01:00
Uwe Hermann
0c5f2abc66
Random whitespace and other minor fixes.
2015-03-22 02:15:30 +01:00
Uwe Hermann
1beccaed46
Various minor whitespace fixes.
2015-03-21 19:28:54 +01:00
Martin Ling
e050124095
motech-lps-30x: Mark serial read call as nonblocking.
...
This call was already nonblocking since the driver opens the port with the
SERIAL_NONBLOCK flag. It only reads one byte, and a zero result is handled
appropriately.
2014-09-24 23:30:31 +02:00
Bert Vermeulen
155b680da4
Reorganize project tree.
2014-07-22 18:19:29 +02:00