Skip to content

Commit 03cd2c0

Browse files
author
shaojinchun
committed
Add the definition of RT_VBUS_USING_FLOW_CONTROL to vbus_api.h
1 parent 84e8c65 commit 03cd2c0

File tree

4 files changed

+2
-8
lines changed

4 files changed

+2
-8
lines changed

bsp/qemu-vexpress-gemini/.config

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,6 @@ CONFIG_RT_USING_POSIX=y
179179
CONFIG_RT_USING_VBUS=y
180180
# CONFIG_RT_USING_VBUS_RFS is not set
181181
# CONFIG_RT_USING_VBUS_RSHELL is not set
182-
CONFIG_RT_VBUS_USING_FLOW_CONTROL=y
183182
CONFIG_RT_VBUS_USING_TESTS=y
184183
CONFIG__RT_VBUS_RING_BASE=0x6f800000
185184
CONFIG__RT_VBUS_RING_SZ=2097152

bsp/qemu-vexpress-gemini/rtconfig.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,6 @@
162162
#define RT_USING_VBUS
163163
/* RT_USING_VBUS_RFS is not set */
164164
/* RT_USING_VBUS_RSHELL is not set */
165-
#define RT_VBUS_USING_FLOW_CONTROL
166165
#define RT_VBUS_USING_TESTS
167166
#define _RT_VBUS_RING_BASE 0x6f800000
168167
#define _RT_VBUS_RING_SZ 2097152

components/vbus/Kconfig

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,6 @@ if RT_USING_VBUS
1919
When enable remote shell, the finsh/msh of RT-Thread can be operated from another
2020
Operating System.
2121

22-
config RT_VBUS_USING_FLOW_CONTROL
23-
bool "Enable flow control on VBUS "
24-
default n
25-
help
26-
Enable manage the rate of data transmission
27-
2822
config RT_VBUS_USING_TESTS
2923
bool "Enable tests on VBUS "
3024
default n

components/vbus/share_hdr/vbus_api.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
#ifndef __VBUS_API_H__
22
#define __VBUS_API_H__
33

4+
#define RT_VBUS_USING_FLOW_CONTROL
5+
46
#define RT_VBUS_CHANNEL_NR 32
57

68
#define RT_VBUS_BLK_HEAD_SZ 4

0 commit comments

Comments
 (0)