summaryrefslogtreecommitdiff
path: root/tmk_core/protocol/arm_atsam/usb/usb_protocol_cdc.h
diff options
context:
space:
mode:
authorRyan <fauxpark@gmail.com>2020-04-21 08:38:34 +1000
committerGitHub <noreply@github.com>2020-04-20 15:38:34 -0700
commit99f7fe6bd4ab7bc332fcbe35ef741a4142a73b1f (patch)
tree53b41f59ccaef201012b619ca49393e4429ee3f5 /tmk_core/protocol/arm_atsam/usb/usb_protocol_cdc.h
parentd0c3a4c8d58c1b8c60426ea2f1572fe1fe3bcd01 (diff)
Clean up ATSAM ifdefs (#8808)
Diffstat (limited to 'tmk_core/protocol/arm_atsam/usb/usb_protocol_cdc.h')
-rw-r--r--tmk_core/protocol/arm_atsam/usb/usb_protocol_cdc.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/tmk_core/protocol/arm_atsam/usb/usb_protocol_cdc.h b/tmk_core/protocol/arm_atsam/usb/usb_protocol_cdc.h
index aa639a6e5d..f35503a3be 100644
--- a/tmk_core/protocol/arm_atsam/usb/usb_protocol_cdc.h
+++ b/tmk_core/protocol/arm_atsam/usb/usb_protocol_cdc.h
@@ -48,7 +48,7 @@
#include "compiler.h"
-#ifdef CDC
+#ifdef VIRTSER_ENABLE
# define CDC_CLASS_DEVICE 0x02 //!< USB Communication Device Class
# define CDC_CLASS_COMM 0x02 //!< CDC Communication Class Interface