1
0
Fork 0

Update custom SEND_STRING

This commit is contained in:
Konstantin Đorđević 2019-01-31 16:02:24 +01:00
parent f2543c3b9b
commit 012c5ef9bd

View file

@ -35,11 +35,11 @@
#ifdef SEND_STRING_CLEAN #ifdef SEND_STRING_CLEAN
#undef SEND_STRING #undef SEND_STRING
#define SEND_STRING(...) { \ #define SEND_STRING(string) { \
uint8_t ss_mods = get_mods(); \ uint8_t ss_mods = get_mods(); \
clear_mods(); \ clear_mods(); \
send_string_P(PSTR(__VA_ARGS__)); \ send_string_P(PSTR(string)); \
set_mods(ss_mods); \ set_mods(ss_mods); \
} }
#endif #endif