am7xxx: factor out a send_command() function
authorAntonio Ospite <ospite@studenti.unina.it>
Thu, 28 Nov 2013 13:57:09 +0000 (14:57 +0100)
committerAntonio Ospite <ospite@studenti.unina.it>
Thu, 28 Nov 2013 14:28:16 +0000 (15:28 +0100)
commit8799de17e84b701462fc2299a78f41958fe82b43
treeeb0af6d070c211b9803d344cfb432387c69d9b0d
parent20fde3f474e27dd334f836e3c9d12aafae72140b
am7xxx: factor out a send_command() function

Some packet types do not carry any header_data and thus they can be seen
as commands issued to the device.

Add a send_command() function to handle such packet types, others of
them are going to be added in future commits.
src/am7xxx.c