mirror of
https://github.com/Keychron/qmk_firmware.git
synced 2024-12-24 02:05:01 +06:00
Update custom SEND_STRING
This commit is contained in:
parent
f2543c3b9b
commit
012c5ef9bd
@ -35,11 +35,11 @@
|
||||
|
||||
#ifdef SEND_STRING_CLEAN
|
||||
#undef SEND_STRING
|
||||
#define SEND_STRING(...) { \
|
||||
uint8_t ss_mods = get_mods(); \
|
||||
clear_mods(); \
|
||||
send_string_P(PSTR(__VA_ARGS__)); \
|
||||
set_mods(ss_mods); \
|
||||
#define SEND_STRING(string) { \
|
||||
uint8_t ss_mods = get_mods(); \
|
||||
clear_mods(); \
|
||||
send_string_P(PSTR(string)); \
|
||||
set_mods(ss_mods); \
|
||||
}
|
||||
#endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user