Browse Source

format

pull/17275/head
fauxpark 1 year ago
parent
commit
321232c57e
2 changed files with 3 additions and 3 deletions
  1. +2
    -2
      quantum/process_keycode/process_dynamic_tapping_term.c
  2. +1
    -1
      quantum/send_string/send_string.h

+ 2
- 2
quantum/process_keycode/process_dynamic_tapping_term.c View File

@ -22,14 +22,14 @@
#endif #endif
static void tapping_term_report(void) { static void tapping_term_report(void) {
# ifdef SEND_STRING_ENABLE
#ifdef SEND_STRING_ENABLE
const char *tapping_term_str = get_u16_str(g_tapping_term, ' '); const char *tapping_term_str = get_u16_str(g_tapping_term, ' ');
// Skip padding spaces // Skip padding spaces
while (*tapping_term_str == ' ') { while (*tapping_term_str == ' ') {
tapping_term_str++; tapping_term_str++;
} }
send_string(tapping_term_str); send_string(tapping_term_str);
# endif
#endif
} }
bool process_dynamic_tapping_term(uint16_t keycode, keyrecord_t *record) { bool process_dynamic_tapping_term(uint16_t keycode, keyrecord_t *record) {


+ 1
- 1
quantum/send_string/send_string.h View File

@ -46,7 +46,7 @@ extern const uint8_t ascii_to_keycode_lut[128];
/** /**
* \brief Type out a string of ASCII characters. * \brief Type out a string of ASCII characters.
*
*
* This function simply calls `send_string_with_delay(string, 0)`. * This function simply calls `send_string_with_delay(string, 0)`.
* *
* Most keycodes from the basic keycode range are also supported by way of a special sequence - see `send_string_keycodes.h`. * Most keycodes from the basic keycode range are also supported by way of a special sequence - see `send_string_keycodes.h`.


Loading…
Cancel
Save