mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
usbus/cdc/ecm: Move USBUS_CDC_ECM_CONFIG_SPEED to 'CONFIG_'
This commit is contained in:
parent
335b0ceb50
commit
8b857844fc
@ -43,22 +43,22 @@ extern "C" {
|
||||
* peripheral will report this to the host. This doesn't affect the actual
|
||||
* throughput, only what the peripheral reports to the host.
|
||||
*/
|
||||
#ifndef USBUS_CDC_ECM_CONFIG_SPEED
|
||||
#define USBUS_CDC_ECM_CONFIG_SPEED 1000000
|
||||
#ifndef CONFIG_USBUS_CDC_ECM_CONFIG_SPEED
|
||||
#define CONFIG_USBUS_CDC_ECM_CONFIG_SPEED 1000000
|
||||
#endif
|
||||
|
||||
/**
|
||||
* @brief Link download speed as reported by the peripheral
|
||||
*/
|
||||
#ifndef CONFIG_USBUS_CDC_ECM_CONFIG_SPEED_DOWNSTREAM
|
||||
#define CONFIG_USBUS_CDC_ECM_CONFIG_SPEED_DOWNSTREAM USBUS_CDC_ECM_CONFIG_SPEED
|
||||
#define CONFIG_USBUS_CDC_ECM_CONFIG_SPEED_DOWNSTREAM CONFIG_USBUS_CDC_ECM_CONFIG_SPEED
|
||||
#endif
|
||||
|
||||
/**
|
||||
* @brief Link upload speed as reported by the peripheral
|
||||
*/
|
||||
#ifndef CONFIG_USBUS_CDC_ECM_CONFIG_SPEED_UPSTREAM
|
||||
#define CONFIG_USBUS_CDC_ECM_CONFIG_SPEED_UPSTREAM USBUS_CDC_ECM_CONFIG_SPEED
|
||||
#define CONFIG_USBUS_CDC_ECM_CONFIG_SPEED_UPSTREAM CONFIG_USBUS_CDC_ECM_CONFIG_SPEED
|
||||
#endif
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user