4afdfd4628
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. |
||
---|---|---|
.. | ||
Makefile.am | ||
api.c | ||
protocol.c | ||
protocol.h |