libsigrok/hardware/chronovu-la8
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 la8: Rename driver.[ch] to protocol.[ch]. 2012-10-27 22:36:34 +02:00
api.c Add and use std_session_send_df_header(). 2013-02-07 10:46:28 +01:00
protocol.c deprecate SR_DI_SAMPLERATES 2013-01-25 02:39:58 +01:00
protocol.h Deprecate SR_DI_TRIGGER_TYPES. 2013-01-25 11:52:27 +01:00