This commit is contained in:
hathach
2019-03-29 17:42:10 +07:00
parent 7d9b68a7b9
commit 28610198df
3 changed files with 18 additions and 18 deletions

View File

@@ -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)