am7xxx: add a note on the symmetry of read_header() and send_header()
authorAntonio Ospite <ospite@studenti.unina.it>
Wed, 14 Nov 2012 11:08:07 +0000 (12:08 +0100)
committerAntonio Ospite <ospite@studenti.unina.it>
Wed, 14 Nov 2012 11:26:42 +0000 (12:26 +0100)
commit2c897cad505d3ba27723dcff7252ff123d90ab53
treee36d4f44ad11099b6af231319eee99cedb469196
parentc8837a57134230c335a85da22322fd794b19ff44
am7xxx: add a note on the symmetry of read_header() and send_header()

In read_header we do:
  1. read data
  2. unserialize header
  3. validity check
  4. dump header

In send_header:
  1. dump header
  2. validity check (we skip it, actually)
  3. serialize header
  4. send data
src/am7xxx.c