summaryrefslogtreecommitdiff
path: root/src/device
diff options
context:
space:
mode:
authorhathach <[email protected]>2020-08-07 15:06:19 +0700
committerhathach <[email protected]>2020-08-07 15:06:19 +0700
commita9d362185b5985062ce3f1a618a67938d9c9d5f7 (patch)
treeb67244740844f0629b91e099db345da527f0afc9 /src/device
parent01b9b77d3b94ed83931d6a51c1b357f03f188e76 (diff)
update note for app driver list mustbe accesible at all time.
Diffstat (limited to 'src/device')
-rw-r--r--src/device/usbd_pvt.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/device/usbd_pvt.h b/src/device/usbd_pvt.h
index e430a81d9..a5d223329 100644
--- a/src/device/usbd_pvt.h
+++ b/src/device/usbd_pvt.h
@@ -54,6 +54,7 @@ typedef struct
// Invoked when initializing device stack to get additional class drivers.
// Can optionally implemented by application to extend/overwrite class driver support.
+// Note: The drivers array must be accessible at all time when stack is active
usbd_class_driver_t const* usbd_app_driver_get_cb(uint8_t* driver_count) TU_ATTR_WEAK;
//--------------------------------------------------------------------+