mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2025-12-26 01:07:21 +00:00
Add the definition of RT_VBUS_USING_FLOW_CONTROL to vbus_api.h
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user