arduino / ArduinoCore-avr

The Official Arduino AVR core
https://www.arduino.cc
1.25k stars 1.06k forks source link

Using #define CDC_DISABLED to remove CDC class #455

Open amowry opened 2 years ago

amowry commented 2 years ago

This is a great addition, but I'm wondering if there is a way to define this from within a sketch? For debugging it's really helpful to be able to turn CDC on temporarily.