File tree 1 file changed +3
-8
lines changed
cores/arduino/stm32/usb_host
1 file changed +3
-8
lines changed Original file line number Diff line number Diff line change @@ -140,16 +140,13 @@ extern "C" {
140
140
141
141
/* DEBUG macros */
142
142
143
- extern void spi_debug (const char * msg , ...);
144
-
145
143
#if (USBH_DEBUG_LEVEL > 0U )
146
144
#define USBH_UsrLog (...) do { \
147
145
printf(__VA_ARGS__); \
148
146
printf("\n"); \
149
147
} while (0)
150
148
#else
151
- #define USBH_UsrLog (MSG , ...) spi_debug(MSG __VA_OPT__(,) __VA_ARGS__);
152
- //do {} while (0)
149
+ #define USBH_UsrLog (MSG , ...) do {} while (0)
153
150
#endif
154
151
155
152
#if (USBH_DEBUG_LEVEL > 1U )
@@ -160,8 +157,7 @@ extern void spi_debug(const char *msg, ...);
160
157
printf("\n"); \
161
158
} while (0)
162
159
#else
163
- #define USBH_ErrLog (MSG , ...) spi_debug(MSG __VA_OPT__(,) __VA_ARGS__);
164
- //do {} while (0)
160
+ #define USBH_ErrLog (MSG , ...) do {} while (0)
165
161
#endif
166
162
167
163
#if (USBH_DEBUG_LEVEL > 2U )
@@ -171,8 +167,7 @@ extern void spi_debug(const char *msg, ...);
171
167
printf("\n"); \
172
168
} while (0)
173
169
#else
174
- #define USBH_DbgLog (MSG , ...) spi_debug(MSG __VA_OPT__(,) __VA_ARGS__);
175
- //do {} while (0)
170
+ #define USBH_DbgLog (MSG , ...) do {} while (0)
176
171
#endif
177
172
178
173
/**
You can’t perform that action at this time.
0 commit comments