Skip to content

Commit 4be3a3b

Browse files
committed
Fix misplaced defines in espressif port.
1 parent b5521ee commit 4be3a3b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

ports/espressif/mpconfigport.h

+3-3
Original file line numberDiff line numberDiff line change
@@ -17,14 +17,14 @@
1717

1818
#define CIRCUITPY_DIGITALIO_HAVE_INPUT_ONLY (1)
1919

20+
#define MICROPY_PY_FUNCTION_ATTRS (1)
21+
#define MICROPY_PY_REVERSE_SPECIAL_METHODS (1)
22+
2023
#include "py/circuitpy_mpconfig.h"
2124

2225
#define MICROPY_NLR_SETJMP (1)
2326
#define CIRCUITPY_DEFAULT_STACK_SIZE 0x6000
2427

25-
#define MICROPY_PY_FUNCTION_ATTRS (1)
26-
#define MICROPY_PY_REVERSE_SPECIAL_METHODS (1)
27-
2828
// Nearly all boards have this because it is used to enter the ROM bootloader.
2929
#ifndef CIRCUITPY_BOOT_BUTTON
3030
#if defined(CONFIG_IDF_TARGET_ESP32C2) || defined(CONFIG_IDF_TARGET_ESP32C3) || defined(CONFIG_IDF_TARGET_ESP32C6) || defined(CONFIG_IDF_TARGET_ESP32H2)

0 commit comments

Comments
 (0)