diff options
| author | Daniël van de Giessen <daniel@dvdgiessen.nl> | 2022-05-31 14:55:39 +0200 |
|---|---|---|
| committer | Damien George <damien@micropython.org> | 2023-07-24 23:28:16 +1000 |
| commit | 1bde5f3316f4d0e4733b5b4b395a4d341b2392f1 (patch) | |
| tree | 74fe40213fbd6d645c7548346358c212940187f8 /ports/esp32/main.c | |
| parent | c1acea0e7364c54f6bd6f918dac4e2d4dc227691 (diff) | |
esp32/main: Remove unused mbedtls debug function.
Since commit beeb74 we already check in modussl_mbedtls whether this
function is provided by the ESP-IDF before calling it, thus we no longer
need to define it here in order to compile.
Removing it so that if CONFIG_MBEDTLS_DEBUG is defined we do not cause any
'multiple definition' compile errors.
Signed-off-by: Daniël van de Giessen <daniel@dvdgiessen.nl>
Diffstat (limited to 'ports/esp32/main.c')
| -rw-r--r-- | ports/esp32/main.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/ports/esp32/main.c b/ports/esp32/main.c index b8ba03e51..3a172e6f8 100644 --- a/ports/esp32/main.c +++ b/ports/esp32/main.c @@ -216,11 +216,6 @@ void nlr_jump_fail(void *val) { esp_restart(); } -// modussl_mbedtls uses this function but it's not enabled in ESP IDF -void mbedtls_debug_set_threshold(int threshold) { - (void)threshold; -} - void *esp_native_code_commit(void *buf, size_t len, void *reloc) { len = (len + 3) & ~3; uint32_t *p = heap_caps_malloc(len, MALLOC_CAP_EXEC); |
