From 1e51b40d57164e021eace0f162f0c46fd63e1f37 Mon Sep 17 00:00:00 2001 From: lymzzyh Date: Fri, 13 Aug 2021 16:29:37 +0800 Subject: [PATCH] Add device type USBOTG to redef.h --- include/rtdef.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/rtdef.h b/include/rtdef.h index 62d0a53685..dac345f26d 100644 --- a/include/rtdef.h +++ b/include/rtdef.h @@ -908,6 +908,7 @@ enum rt_device_class_type RT_Device_Class_I2CBUS, /**< I2C bus device */ RT_Device_Class_USBDevice, /**< USB slave device */ RT_Device_Class_USBHost, /**< USB host bus */ + RT_Device_Class_USBOTG, /**< USB OTG bus */ RT_Device_Class_SPIBUS, /**< SPI bus device */ RT_Device_Class_SPIDevice, /**< SPI device */ RT_Device_Class_SDIO, /**< SDIO bus device */