Sfoglia il codice sorgente

Update custom SEND_STRING

Konstantin Đorđević 6 anni fa
parent
commit
012c5ef9bd
1 ha cambiato i file con 5 aggiunte e 5 eliminazioni
  1. 5 5
      users/konstantin/konstantin.h

+ 5 - 5
users/konstantin/konstantin.h

@@ -35,11 +35,11 @@
 
 
 #ifdef SEND_STRING_CLEAN
 #ifdef SEND_STRING_CLEAN
   #undef  SEND_STRING
   #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
 #endif