diff options
| author | shaojinchun <[email protected]> | 2018-08-27 18:33:03 +0800 |
|---|---|---|
| committer | shaojinchun <[email protected]> | 2018-08-27 18:33:03 +0800 |
| commit | 03cd2c005d77aae6d0e8aa78fd8b2fd5f45f55e6 (patch) | |
| tree | b983a949e6331298206ecbcbac979c035074c94f /components | |
| parent | 84e8c6568337fee7f6daa936cb1b822c1154b4e6 (diff) | |
Add the definition of RT_VBUS_USING_FLOW_CONTROL to vbus_api.h
Diffstat (limited to 'components')
| -rw-r--r-- | components/vbus/Kconfig | 6 | ||||
| -rw-r--r-- | components/vbus/share_hdr/vbus_api.h | 2 |
2 files changed, 2 insertions, 6 deletions
diff --git a/components/vbus/Kconfig b/components/vbus/Kconfig index c1afca994f..cd30874e38 100644 --- a/components/vbus/Kconfig +++ b/components/vbus/Kconfig @@ -19,12 +19,6 @@ if RT_USING_VBUS When enable remote shell, the finsh/msh of RT-Thread can be operated from another Operating System. - config RT_VBUS_USING_FLOW_CONTROL - bool "Enable flow control on VBUS " - default n - help - Enable manage the rate of data transmission - config RT_VBUS_USING_TESTS bool "Enable tests on VBUS " default n diff --git a/components/vbus/share_hdr/vbus_api.h b/components/vbus/share_hdr/vbus_api.h index 3ad2a9ae68..4425bb448a 100644 --- a/components/vbus/share_hdr/vbus_api.h +++ b/components/vbus/share_hdr/vbus_api.h @@ -1,6 +1,8 @@ #ifndef __VBUS_API_H__ #define __VBUS_API_H__ +#define RT_VBUS_USING_FLOW_CONTROL + #define RT_VBUS_CHANNEL_NR 32 #define RT_VBUS_BLK_HEAD_SZ 4 |
