Add the definition of RT_VBUS_USING_FLOW_CONTROL to vbus_api.h

This commit is contained in:
shaojinchun
2018-08-27 18:33:03 +08:00
parent 84e8c65683
commit 03cd2c005d
4 changed files with 2 additions and 8 deletions

View File

@@ -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

View File

@@ -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