We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fa0dcc8 commit 1f43838Copy full SHA for 1f43838
cores/arduino/utils.h
@@ -1,15 +1,13 @@
1
#ifndef __UTILS_H
2
#define __UTILS_H
3
4
-#include "avr/dtostrf.h"
5
-
6
-// Concatenate 2 strings
+/* Concatenate 2 strings */
7
#define CONCAT(s1, s2) (s1 s2)
8
-// Concatenate 2 strings separated by space
+/* Concatenate 2 strings separated by space */
9
#define CONCATS(s1, s2) (s1" " s2)
10
11
-// Stringification
12
-#define xstr(s) str(s)
13
-#define str(s) #s
+/* Stringification */
+#define XSTR(s) STR(s)
+#define STR(s) #s
14
15
#endif
cores/arduino/wiring.h
@@ -26,9 +26,9 @@
26
#include <string.h>
27
#include <math.h>
28
29
+#include "avr/dtostrf.h"
30
#include "binary.h"
31
#include "itoa.h"
-#include "utils.h"
32
33
#include "wiring_analog.h"
34
#include "wiring_constants.h"
0 commit comments