Explorar o código

Add device type USBOTG to redef.h

lymzzyh %!s(int64=3) %!d(string=hai) anos
pai
achega
1e51b40d57
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      include/rtdef.h

+ 1 - 0
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 */