keyboard->mbed->PC (mbed->SDcard)

Dependencies:   mbed-rtos

Fork of USBHost by mbed official

Revision:
13:b58a2204422f
Parent:
8:93da8ea2708b
Child:
19:bd46ea19486b
--- 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;