Update port.c

This commit is contained in:
microDev 2020-09-22 11:37:12 +05:30 committed by GitHub
parent df067b498d
commit add230b4da
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -43,6 +43,7 @@
#include "common-hal/wifi/__init__.h"
#include "supervisor/memory.h"
#include "supervisor/shared/tick.h"
#include "shared-bindings/rtc/__init__.h"
#include "peripherals/rmt.h"
#include "esp-idf/components/heap/include/esp_heap_caps.h"
@ -106,6 +107,11 @@ void reset_port(void) {
spi_reset();
uart_reset();
#endif
#if CIRCUITPY_RTC
rtc_reset();
#endif
#if CIRCUITPY_WIFI
wifi_reset();
#endif