summaryrefslogtreecommitdiffstats
path: root/tmk_core/protocol/arm_atsam/usb/udi_cdc.c
diff options
context:
space:
mode:
authorpatrickmt <40182064+patrickmt@users.noreply.github.com>2018-10-09 21:14:13 +0200
committerJack Humbert <jack.humb@gmail.com>2018-10-10 19:49:01 +0200
commitab91e07753720f8114d6c427139a1436e6efa3ce (patch)
treeb2ba658e12b5396726945a6a22cb111013a1544e /tmk_core/protocol/arm_atsam/usb/udi_cdc.c
parentf2965e1eeaf1769e106145a9d19f102fcd8fe4d4 (diff)
downloadqmk_firmware-ab91e07753720f8114d6c427139a1436e6efa3ce.tar.gz
qmk_firmware-ab91e07753720f8114d6c427139a1436e6efa3ce.tar.xz
Massdrop keyboards console device support for hid_listen
Added hid_listen USB device for arm_atsam USB protocol. Debug printing is now done through the console device (CONSOLE_ENABLE = yes) rather than the virtser device, for viewing in hid_listen. Function dpf(...) renamed to CDC_printf(...) and should now be called directly if intending to print to the virtual serial device.
Diffstat (limited to 'tmk_core/protocol/arm_atsam/usb/udi_cdc.c')
-rw-r--r--tmk_core/protocol/arm_atsam/usb/udi_cdc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tmk_core/protocol/arm_atsam/usb/udi_cdc.c b/tmk_core/protocol/arm_atsam/usb/udi_cdc.c
index 15f0f760c..5f3c289e8 100644
--- a/tmk_core/protocol/arm_atsam/usb/udi_cdc.c
+++ b/tmk_core/protocol/arm_atsam/usb/udi_cdc.c
@@ -1260,7 +1260,7 @@ uint32_t CDC_print(char *printbuf)
char printbuf[CDC_PRINTBUF_SIZE];
-int dpf(const char *_Format, ...)
+int CDC_printf(const char *_Format, ...)
{
va_list va; //Variable argument list variable
int result;
@@ -1356,7 +1356,7 @@ uint32_t CDC_print(char *printbuf)
return 0;
}
-int dpf(const char *_Format, ...)
+int CDC_printf(const char *_Format, ...)
{
return 0;
}