From 03cd2c005d77aae6d0e8aa78fd8b2fd5f45f55e6 Mon Sep 17 00:00:00 2001 From: shaojinchun Date: Mon, 27 Aug 2018 18:33:03 +0800 Subject: Add the definition of RT_VBUS_USING_FLOW_CONTROL to vbus_api.h --- components/vbus/Kconfig | 6 ------ components/vbus/share_hdr/vbus_api.h | 2 ++ 2 files changed, 2 insertions(+), 6 deletions(-) (limited to 'components/vbus') 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 -- cgit v1.3.1