test

Dependencies:   mbed-rtos

Dependents:   Production_version1_0 Production_ver1_0 USBHost_TEST USBHost_Test5 ... more

Fork of USBHost by mbed official

Revision:
37:f1e388e7b752
Parent:
24:868cbfe611a7
--- a/USBHostHID/USBHostKeyboard.h	Sun Apr 30 04:17:16 2017 +0000
+++ b/USBHostHID/USBHostKeyboard.h	Thu Jul 20 10:13:56 2017 +0100
@@ -26,7 +26,8 @@
 /**
  * A class to communicate a USB keyboard
  */
-class USBHostKeyboard : public IUSBEnumerator {
+class USBHostKeyboard : public IUSBEnumerator
+{
 public:
 
     /**
@@ -53,7 +54,8 @@
      *
      * @param ptr function pointer
      */
-    inline void attach(void (*ptr)(uint8_t key)) {
+    inline void attach(void (*ptr)(uint8_t key))
+    {
         if (ptr != NULL) {
             onKey = ptr;
         }
@@ -64,7 +66,8 @@
      *
      * @param ptr function pointer
      */
-    inline void attach(void (*ptr)(uint8_t keyCode, uint8_t modifier)) {
+    inline void attach(void (*ptr)(uint8_t keyCode, uint8_t modifier))
+    {
         if (ptr != NULL) {
             onKeyCode = ptr;
         }