diff options
| author | hathach <[email protected]> | 2014-03-31 12:06:13 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2014-03-31 12:06:13 +0700 |
| commit | bc99f596993206680f6825263e124d5497c358e0 (patch) | |
| tree | da09b2ad0dd758744884b933b094609714ad10b7 /demos/device/src | |
| parent | 6682720b2aecb777d8f8aceedbd49aaff4fbbc27 (diff) | |
code beautify
Diffstat (limited to 'demos/device/src')
| -rw-r--r-- | demos/device/src/cdc_device_app.c | 2 | ||||
| -rw-r--r-- | demos/device/src/keyboard_device_app.c | 2 | ||||
| -rw-r--r-- | demos/device/src/mouse_device_app.c | 2 | ||||
| -rw-r--r-- | demos/device/src/msc_device_app.c | 8 |
4 files changed, 5 insertions, 9 deletions
diff --git a/demos/device/src/cdc_device_app.c b/demos/device/src/cdc_device_app.c index 572db4b0c..2abbc427b 100644 --- a/demos/device/src/cdc_device_app.c +++ b/demos/device/src/cdc_device_app.c @@ -67,7 +67,7 @@ TUSB_CFG_ATTR_USBRAM static uint8_t serial_tx_buffer[CDCD_APP_BUFFER_SIZE]; FIFO_DEF(fifo_serial, CDCD_APP_BUFFER_SIZE, uint8_t, true);
//--------------------------------------------------------------------+
-// tinyusb Callbacks
+// tinyusb callbacks
//--------------------------------------------------------------------+
void tusbd_cdc_mounted_cb(uint8_t coreid)
{
diff --git a/demos/device/src/keyboard_device_app.c b/demos/device/src/keyboard_device_app.c index c3096a247..4cbb3b1aa 100644 --- a/demos/device/src/keyboard_device_app.c +++ b/demos/device/src/keyboard_device_app.c @@ -56,7 +56,7 @@ OSAL_TASK_DEF(keyboard_device_app_task, 128, KEYBOARD_APP_TASK_PRIO); TUSB_CFG_ATTR_USBRAM hid_keyboard_report_t keyboard_report;
//--------------------------------------------------------------------+
-// tinyusb Callbacks
+// tinyusb callbacks
//--------------------------------------------------------------------+
void tusbd_hid_keyboard_mounted_cb(uint8_t coreid)
{
diff --git a/demos/device/src/mouse_device_app.c b/demos/device/src/mouse_device_app.c index f38e4f062..360cb8787 100644 --- a/demos/device/src/mouse_device_app.c +++ b/demos/device/src/mouse_device_app.c @@ -56,7 +56,7 @@ OSAL_TASK_DEF(mouse_device_app_task, 128, MOUSE_APP_TASK_PRIO); TUSB_CFG_ATTR_USBRAM hid_mouse_report_t mouse_report;
//--------------------------------------------------------------------+
-// tinyusb Callbacks
+// tinyusb callbacks
//--------------------------------------------------------------------+
void tusbd_hid_mouse_mounted_cb(uint8_t coreid)
{
diff --git a/demos/device/src/msc_device_app.c b/demos/device/src/msc_device_app.c index cc4063c80..e1b91295c 100644 --- a/demos/device/src/msc_device_app.c +++ b/demos/device/src/msc_device_app.c @@ -87,11 +87,7 @@ static scsi_mode_parameters_t const msc_dev_mode_para = };
//--------------------------------------------------------------------+
-// INTERNAL OBJECT & FUNCTION DECLARATION
-//--------------------------------------------------------------------+
-
-//--------------------------------------------------------------------+
-// tinyusb callback (ISR context)
+// tinyusb callbacks
//--------------------------------------------------------------------+
void tusbd_msc_mounted_cb(uint8_t coreid)
{
@@ -158,7 +154,7 @@ msc_csw_status_t tusbd_msc_scsi_cb (uint8_t coreid, uint8_t lun, uint8_t scsi_cm }
//--------------------------------------------------------------------+
-// IMPLEMENTATION
+// APPLICATION CODE
//--------------------------------------------------------------------+
OSAL_TASK_FUNCTION( msc_device_app_task , p_task_para)
{ // no need to implement the task yet
|
