diff options
| author | Bernard Xiong <[email protected]> | 2021-08-13 19:00:45 +0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2021-08-13 19:00:45 +0800 |
| commit | b29465408aea58dc6b5e38001b300f73233679d8 (patch) | |
| tree | 851bc81fc8ab818149aa85ba750944d5362f6a47 | |
| parent | 9cbb6a741ced5a3db2987f6f2985549e103f778b (diff) | |
| parent | 1e51b40d57164e021eace0f162f0c46fd63e1f37 (diff) | |
Merge pull request #4941 from lymzzyh/otg
Add device type USBOTG to redef.h
| -rw-r--r-- | include/rtdef.h | 1 |
1 files changed, 1 insertions, 0 deletions
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 */ |
