USBHost custom library.
Dependents: GR-PEACH_HVC-P2_sample_client mbed-os-storage-access GR-PEACH_Digital_Signage GR-PEACH_Audio_Playback_Sample ... more
Fork of USBHost by
Diff: USBHostSerial/USBHostSerial.h
- Revision:
- 13:b58a2204422f
- Parent:
- 8:93da8ea2708b
- Child:
- 19:bd46ea19486b
diff -r 4d2f8064b747 -r b58a2204422f USBHostSerial/USBHostSerial.h --- a/USBHostSerial/USBHostSerial.h Tue Aug 13 09:42:31 2013 +0000 +++ b/USBHostSerial/USBHostSerial.h Mon Sep 16 15:36:24 2013 +0100 @@ -142,12 +142,12 @@ uint8_t buf[64]; - typedef __packed struct { + typedef struct { uint32_t baudrate; uint8_t stop_bits; uint8_t parity; uint8_t data_bits; - } LINE_CODING; + } PACKED LINE_CODING; LINE_CODING line_coding;