mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-12-26 06:53:52 +01:00
usbus/cdc/acm: Move USBUS_CDC_ACM_STDIO_BUF_SIZE to 'CONFIG_' namespace
This commit is contained in:
parent
2165327bbf
commit
cd3ac726d9
@ -46,8 +46,8 @@ extern "C" {
|
||||
* @brief Buffer size for STDIN and STDOUT data to and from USB when using
|
||||
* the USBUS_CDC_ACM_STDIO module
|
||||
*/
|
||||
#ifndef USBUS_CDC_ACM_STDIO_BUF_SIZE
|
||||
#define USBUS_CDC_ACM_STDIO_BUF_SIZE (128)
|
||||
#ifndef CONFIG_USBUS_CDC_ACM_STDIO_BUF_SIZE
|
||||
#define CONFIG_USBUS_CDC_ACM_STDIO_BUF_SIZE (128)
|
||||
#endif
|
||||
|
||||
/**
|
||||
|
||||
@ -38,8 +38,8 @@
|
||||
#endif
|
||||
|
||||
static usbus_cdcacm_device_t cdcacm;
|
||||
static uint8_t _cdc_tx_buf_mem[USBUS_CDC_ACM_STDIO_BUF_SIZE];
|
||||
static uint8_t _cdc_rx_buf_mem[USBUS_CDC_ACM_STDIO_BUF_SIZE];
|
||||
static uint8_t _cdc_tx_buf_mem[CONFIG_USBUS_CDC_ACM_STDIO_BUF_SIZE];
|
||||
static uint8_t _cdc_rx_buf_mem[CONFIG_USBUS_CDC_ACM_STDIO_BUF_SIZE];
|
||||
static isrpipe_t _cdc_stdio_isrpipe = ISRPIPE_INIT(_cdc_rx_buf_mem);
|
||||
|
||||
void stdio_init(void)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user