fix segger host example

This commit is contained in:
hathach
2019-11-22 00:32:49 +07:00
parent f5d737aa7e
commit 03deeea465
7 changed files with 136 additions and 138 deletions

View File

@@ -95,7 +95,7 @@ static host_class_driver_t const usbh_class_drivers[] =
#endif
};
enum { USBH_CLASS_DRIVER_COUNT = TU_ARRAY_SZIE(usbh_class_drivers) };
enum { USBH_CLASS_DRIVER_COUNT = TU_ARRAY_SIZE(usbh_class_drivers) };
//--------------------------------------------------------------------+
// INTERNAL OBJECT & FUNCTION DECLARATION