clean up
This commit is contained in:
1 parent
eeab293505
commit
a0e82f6701
2 files changed
+5
-1
No files matched your search
@@ -53,9 +53,13 @@ uint16_t Adafruit_USBD_CDC::getDescriptor(uint8_t* buf, uint16_t bufsize)
|
||||
// Baud and config is ignore in CDC
|
||||
void Adafruit_USBD_CDC::begin (uint32_t baud)
|
||||
{
|
||||
(void) baud;
|
||||
}
|
||||
|
||||
void Adafruit_USBD_CDC::begin (uint32_t baud, uint8_t config)
|
||||
{
|
||||
(void) baud;
|
||||
(void) config;
|
||||
}
|
||||
|
||||
void Adafruit_USBD_CDC::end(void)
|
||||
@@ -129,6 +133,7 @@ extern "C"
|
||||
void tud_cdc_line_state_cb(uint8_t itf, bool dtr, bool rts)
|
||||
{
|
||||
(void) itf; // interface ID, not used
|
||||
(void) rts;
|
||||
|
||||
// DTR = false is counted as disconnected
|
||||
if ( !dtr )
|
||||
|
||||
@@ -54,7 +54,6 @@
|
||||
#define CFG_TUD_CDC 1
|
||||
#define CFG_TUD_MSC 1
|
||||
#define CFG_TUD_HID 1
|
||||
|
||||
#define CFG_TUD_MIDI 1
|
||||
#define CFG_TUD_CUSTOM_CLASS 0
|
||||
|
||||
|
||||
Reference in new issue
Block a user