diff options
| author | hathach <[email protected]> | 2019-03-29 17:42:10 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2019-03-29 17:42:10 +0700 |
| commit | 28610198dfe70e98d3c2dcadb229f5ff12e2faf1 (patch) | |
| tree | 31f01b138af80cc826f02402dd32792622076716 /src/device | |
| parent | 7d9b68a7b9e120e3f5b1fe23096c3c620558b87a (diff) | |
clean up
Diffstat (limited to 'src/device')
| -rw-r--r-- | src/device/usbd.h | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/src/device/usbd.h b/src/device/usbd.h index eb99337e3..1a4a21837 100644 --- a/src/device/usbd.h +++ b/src/device/usbd.h @@ -34,16 +34,9 @@ extern "C" {
#endif
-//--------------------------------------------------------------------+
-// INCLUDE
-//--------------------------------------------------------------------+
#include "common/tusb_common.h"
#include "device/dcd.h"
-//--------------------------------------------------------------------+
-// MACRO CONSTANT TYPEDEF
-//--------------------------------------------------------------------+
-
/// \brief Descriptor pointer collector to all the needed.
typedef struct {
void const * device; ///< pointer to device descriptor \ref tusb_desc_device_t
@@ -64,7 +57,7 @@ typedef struct { extern tud_desc_set_t tud_desc_set;
//--------------------------------------------------------------------+
-// APPLICATION API
+// Application API
//--------------------------------------------------------------------+
bool tud_mounted(void);
void tud_task (void);
@@ -72,7 +65,7 @@ void tud_task (void); bool tud_remote_wakeup(void);
//--------------------------------------------------------------------+
-// APPLICATION CALLBACK (WEAK is optional)
+// Application Callbacks (WEAK is optional)
//--------------------------------------------------------------------+
// Callback invoked when device is mounted (configured)
|
