mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-01-17 05:32:45 +01:00
sys/usb_board_reset: add stdio_tinyusb_cdc_acm support
This commit is contained in:
parent
6aa267c4b5
commit
d390b6c7f6
@ -8,4 +8,4 @@
|
||||
config MODULE_USB_BOARD_RESET
|
||||
bool "Trigger a board reset via USB CDC ACM"
|
||||
depends on TEST_KCONFIG
|
||||
depends on MODULE_USBUS_CDC_ACM
|
||||
depends on MODULE_USBUS_CDC_ACM || MODULE_STDIO_TINYUSB_CDC_ACM
|
||||
|
@ -36,7 +36,12 @@ int usb_board_reset_coding_cb(usbus_cdcacm_device_t *cdcacm,
|
||||
uint32_t baud, uint8_t bits,
|
||||
uint8_t parity, uint8_t stop)
|
||||
{
|
||||
/* Note: This function is also used by tinyUSB if module `usb_board_reset`
|
||||
* is used. In this case no USBUS CDC ACM device is defined and parameter
|
||||
* `cdcacm` is NULL. Please keep this in mind if `cdcacm` is to be used
|
||||
* in future versions. */
|
||||
(void)cdcacm;
|
||||
|
||||
(void)bits;
|
||||
(void)parity;
|
||||
(void)stop;
|
||||
|
Loading…
Reference in New Issue
Block a user