libsigrok/src/hardware/link-mso19
Gerhard Sittig 411b2f6822 link-mso19: improve endianess conversion, avoid mem access alignment issue
Prefer sigrok's endianess conversion helper over the inet htons()
routine which is harder to read (is "network order" little or big?).

Writing the conversion results in units of bytes also avoids misaligned
memory access. The header length is odd, each payload item got written
as an uint16_t item to an odd address.
2018-03-03 18:58:59 +01:00
..
api.c drivers: Simplify some more trigger slope settings. 2017-08-06 17:31:46 +02:00
protocol.c link-mso19: improve endianess conversion, avoid mem access alignment issue 2018-03-03 18:58:59 +01:00
protocol.h drivers: Shorten some unnecessarily long arrays. 2017-07-21 17:06:40 +02:00