summaryrefslogtreecommitdiff
path: root/examples/host
diff options
context:
space:
mode:
authorhathach <[email protected]>2018-12-13 13:49:09 +0700
committerhathach <[email protected]>2018-12-13 13:49:09 +0700
commitbc46dc6edf3ff4bb72fb36e74b8a7d3da447d2d4 (patch)
treefc8042f6113d6dc224543d00578759eb6a0c60f4 /examples/host
parentb562fa741b5a8bb47d4e32c0a0f2600b72993b9a (diff)
osal clean up
remove OSAL_TASK_DEF, osal_task_create. Applicaton should create a task and call tinyusb_task(). This make API consistent with NO OS.
Diffstat (limited to 'examples/host')
-rw-r--r--examples/host/cdc_msc_hid/src/tusb_config.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/examples/host/cdc_msc_hid/src/tusb_config.h b/examples/host/cdc_msc_hid/src/tusb_config.h
index cc06ae93d..e3439f88f 100644
--- a/examples/host/cdc_msc_hid/src/tusb_config.h
+++ b/examples/host/cdc_msc_hid/src/tusb_config.h
@@ -80,14 +80,14 @@
// DEVICE CONFIGURATION
//--------------------------------------------------------------------
-#define CFG_TUH_HUB 1
-#define CFG_TUH_CDC 1
-#define CFG_TUH_HID_KEYBOARD 0
-#define CFG_TUH_HID_MOUSE 0
-#define CFG_TUSB_HOST_HID_GENERIC 0 // (not yet supported)
-#define CFG_TUH_MSC 0
+#define CFG_TUH_HUB 1
+#define CFG_TUH_CDC 1
+#define CFG_TUH_HID_KEYBOARD 0
+#define CFG_TUH_HID_MOUSE 0
+#define CFG_TUSB_HOST_HID_GENERIC 0 // (not yet supported)
+#define CFG_TUH_MSC 0
-#define CFG_TUSB_HOST_DEVICE_MAX (CFG_TUH_HUB ? 5 : 1) // normal hub has 4 ports
+#define CFG_TUSB_HOST_DEVICE_MAX (CFG_TUH_HUB ? 5 : 1) // normal hub has 4 ports
//------------- CLASS -------------//
#define CFG_TUD_CDC 0