We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 84aadf3 commit 6784e0eCopy full SHA for 6784e0e
ports/espressif/supervisor/port.c
@@ -246,16 +246,17 @@ safe_mode_t port_init(void) {
246
247
circuitpython_task = xTaskGetCurrentTaskHandle();
248
249
+ #if !defined(DEBUG)
250
+ #define DEBUG (0)
251
+ #endif
252
+
253
// Send the ROM output out of the UART. This includes early logs.
- #ifdef DEBUG
254
+ #if DEBUG
255
ets_install_uart_printf();
256
#endif
257
258
heap = NULL;
-
- #ifndef DEBUG
- #define DEBUG (0)
- #endif
259
+ heap_size = 0;
260
261
#define pin_GPIOn(n) pin_GPIO##n
262
#define pin_GPIOn_EXPAND(x) pin_GPIOn(x)
0 commit comments