libsigrok/hardware/fx2lafw
Uwe Hermann 4afdfd4628 Add and use std_session_send_df_header().
This is a small helper function which sends the SR_DF_HEADER packet that
drivers usually emit in their hw_dev_acquisition_start() API callback.
It simplifies and shortens the hw_dev_acquisition_start() functions
quite a bit.

It also simplifies the input modules which send an SR_DF_HEADER packet, too.

This patch also automatically removes some unneeded malloc/free in some
drivers for the 'packet' and 'header' structs used for SR_DF_HEADER.
2013-02-07 10:46:28 +01:00
..
Makefile.am fx2lafw: Implemented initial support for start capture 2012-03-07 07:52:05 +00:00
command.c fx2lafw: Various cosmetics, typo fixes, etc. 2012-12-18 01:26:58 +01:00
command.h sr: moved sigrok.h so libsigrok/libsigrok.h 2012-07-05 01:17:28 +02:00
fx2lafw.c Add and use std_session_send_df_header(). 2013-02-07 10:46:28 +01:00
fx2lafw.h Deprecate SR_DI_TRIGGER_TYPES. 2013-01-25 11:52:27 +01:00