libsigrok/hardware/openbench-logic-sniffer
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 ols: Split into api.c and protocol.[ch]. 2012-12-24 13:44:52 +01:00
api.c Add and use std_session_send_df_header(). 2013-02-07 10:46:28 +01:00
protocol.c ols: Add missing 'extern'. 2012-12-28 17:13:20 +01:00
protocol.h Deprecate SR_DI_TRIGGER_TYPES. 2013-01-25 11:52:27 +01:00