diff options
author | patrickmt <40182064+patrickmt@users.noreply.github.com> | 2018-09-28 21:32:15 -0400 |
---|---|---|
committer | Jack Humbert <jack.humb@gmail.com> | 2018-09-28 21:32:15 -0400 |
commit | 239f02408e219567be060be7e65e92e888304ed0 (patch) | |
tree | a5461db9b599dfb0fb7e3e6faccc064353cdfe78 /tmk_core/protocol/arm_atsam/usb/udi_cdc.h | |
parent | e2dee054d0649cb7b5b051a04a9bd82d14a0fdcd (diff) | |
download | firmware-239f02408e219567be060be7e65e92e888304ed0.tar.gz firmware-239f02408e219567be060be7e65e92e888304ed0.tar.bz2 firmware-239f02408e219567be060be7e65e92e888304ed0.zip |
Massdrop keyboard updates for SEND_STRING, syscalls, stdio, debug prints, Auto Shift (#3973)
* Update for SEND_STRING usage
Update for SEND_STRING usage.
Sending keyboard reports (kbd, nkro) now obey the minimum polling time.
While attempting to send a keyboard report and waiting for a USB poll, other functions of the keyboard, including LED effects and power management, will continue to operate at their intended intervals.
* Updates for send string, syscalls, stdio, debug prints, auto shift
Now properly waiting for previous keys sent over USB to complete before sending new.
Added heap to linker and now compiling with syscalls support.
Removed custom string functions and now using stdio.
dprintf now works as intended through virtser device.
* CTRL and ALT keymap updates
CTRL mac keymap updated
ALT default and mac keymap updated
ALT rules.mk added Auto Shift with default no
* Code cleanup as per discussion with vomindoraan
Code cleanup as per discussion with vomindoraan
Diffstat (limited to 'tmk_core/protocol/arm_atsam/usb/udi_cdc.h')
-rw-r--r-- | tmk_core/protocol/arm_atsam/usb/udi_cdc.h | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/tmk_core/protocol/arm_atsam/usb/udi_cdc.h b/tmk_core/protocol/arm_atsam/usb/udi_cdc.h index 6b70e96d0..e134cf236 100644 --- a/tmk_core/protocol/arm_atsam/usb/udi_cdc.h +++ b/tmk_core/protocol/arm_atsam/usb/udi_cdc.h @@ -57,8 +57,8 @@ #include "udi.h" // Check the number of port -#ifndef UDI_CDC_PORT_NB -# define UDI_CDC_PORT_NB 1 +#ifndef UDI_CDC_PORT_NB +# define UDI_CDC_PORT_NB 1 #endif #if (UDI_CDC_PORT_NB > 1) # error UDI_CDC_PORT_NB must be at most 1 @@ -86,9 +86,6 @@ extern UDC_DESC_STORAGE udi_api_t udi_api_cdc_data; //! CDC data endpoints size for FS speed (8B, 16B, 32B, 64B) #define UDI_CDC_DATA_EPS_FS_SIZE CDC_RX_SIZE -#define CDC_PRINT_BUF_SIZE 256 -extern char printbuf[CDC_PRINT_BUF_SIZE]; - //@} /** @@ -371,9 +368,6 @@ uint32_t CDC_print(char *printbuf); uint32_t CDC_input(void); void CDC_init(void); -#define __xprintf dpf -int dpf(const char *_Format, ...); - #ifdef __cplusplus } #endif |