From 28610198dfe70e98d3c2dcadb229f5ff12e2faf1 Mon Sep 17 00:00:00 2001 From: hathach Date: Fri, 29 Mar 2019 17:42:10 +0700 Subject: clean up --- src/device/usbd.h | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) (limited to 'src/device') 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) -- cgit v1.3.1