Bert Vermeulen
9615eeb572
fx2lafw: Use new trigger API.
2014-05-28 00:21:10 +02:00
Martin Ling
a54edb1dfb
fx2lafw: pass sdi to command functions.
2014-04-30 13:57:22 -07:00
Bert Vermeulen
06b5d7f70d
fx2lafw: Don't send more samples than requested.
...
It's the new law.
2014-04-24 21:04:23 +02:00
Bert Vermeulen
b0ccd64d02
WIP
2014-04-23 19:27:31 +02:00
Aurelien Jacobs
eb28f1b7b2
fx2lafw: fix possible use of uninitialized variable (gcc-4.9 warning fix)
...
hardware/fx2lafw/protocol.c: In function 'fx2lafw_command_start_acquisition':
hardware/fx2lafw/protocol.c:113:7: warning: 'cmd.flags' may be used uninitialized in this function [-Wmaybe-uninitialized]
(cmd.flags & CMD_START_FLAGS_CLK_48MHZ) ? "48" : "30");
^
2014-04-06 17:32:46 +02:00
Uwe Hermann
ba7dd8bbb8
Replace 'probe' with 'channel' in most places.
...
Also, consistently use 'ch' for channel variables. This matches how we
consistently use sdi, devc, and so on all over the code-base.
This fixes parts of bug #259 .
2014-03-25 20:58:54 +01:00
Uwe Hermann
91aea754aa
Rename 'struct sr_probe' to 'struct sr_channel' everywhere.
...
This fixes parts of bug #259 .
2014-03-25 20:58:54 +01:00
Uwe Hermann
683fd16137
fx2lafw: Fix incorrect unitsize when a trigger fires.
...
The unitsize was always being set to 2, regardless of whether an fx2lafw
device with 8 or 16 probes was used.
This fixes bug #182 .
2013-12-29 14:18:51 +01:00
Uwe Hermann
87b545fba4
fx2lafw: Minor cleanups.
2013-12-29 14:18:51 +01:00
Martin Ling
6c60facc19
Use common usb_source_add and usb_source_remove functions.
2013-12-21 23:09:23 +00:00
Uwe Hermann
2f9376117c
fx2lafw: Organize driver into api.c / protocol.[ch].
...
This now matches the naming conventions of the other drivers.
2013-10-06 22:28:45 +02:00