summaryrefslogtreecommitdiff
path: root/tmk_core/protocol/arm_atsam/usb/udi_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/udi_cdc.h
parentd0c3a4c8d58c1b8c60426ea2f1572fe1fe3bcd01 (diff)
Clean up ATSAM ifdefs (#8808)
Diffstat (limited to 'tmk_core/protocol/arm_atsam/usb/udi_cdc.h')
-rw-r--r--tmk_core/protocol/arm_atsam/usb/udi_cdc.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/tmk_core/protocol/arm_atsam/usb/udi_cdc.h b/tmk_core/protocol/arm_atsam/usb/udi_cdc.h
index 9135bab546..406023980c 100644
--- a/tmk_core/protocol/arm_atsam/usb/udi_cdc.h
+++ b/tmk_core/protocol/arm_atsam/usb/udi_cdc.h
@@ -47,7 +47,7 @@
#ifndef _UDI_CDC_H_
#define _UDI_CDC_H_
-#ifdef CDC
+#ifdef VIRTSER_ENABLE
# include "conf_usb.h"
# include "usb_protocol.h"
@@ -346,7 +346,7 @@ typedef struct {
char buf[CDC_INBUF_SIZE];
} inbuf_t;
-#else // CDC
+#else // VIRTSER_ENABLE
// keep these to accommodate calls if remaining
# define CDC_PRINTBUF_SIZE 1
@@ -362,7 +362,7 @@ typedef struct {
extern inbuf_t inbuf;
-#endif // CDC
+#endif // VIRTSER_ENABLE
uint32_t CDC_print(char* printbuf);
int CDC_printf(const char* _Format, ...);