From 87ccdc9cdbc825fe517318e9d7de9027ddaeb1ed Mon Sep 17 00:00:00 2001 From: Khoi Hoang <57012152+khoih-prog@users.noreply.github.com> Date: Sat, 7 Aug 2021 22:31:40 -0400 Subject: [PATCH] v1.5.0 to add support to Realtek RTL8720DN ### Major Releases v1.5.0 1. Add support to Realtek RTL8720DN, RTL8722DM, RTM8722CSM, etc., using [`Arduino AmebaD core`](https://github.com/ambiot/ambd_arduino) --- src/DoubleResetDetector_Generic.h | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/src/DoubleResetDetector_Generic.h b/src/DoubleResetDetector_Generic.h index 1d27948..621605f 100644 --- a/src/DoubleResetDetector_Generic.h +++ b/src/DoubleResetDetector_Generic.h @@ -668,7 +668,7 @@ class DoubleResetDetector_Generic ///////////////////////////// #elif (DRD_GENERIC_USE_RTL8720) - // SAMD code + // RTL8720 code doubleResetDetectorFlag = readFlagRTL8720(); #endif //(DRD_GENERIC_USE_EEPROM || DRD_GENERIC_USE_STM32) @@ -981,12 +981,7 @@ class DoubleResetDetector_Generic delay(1000); readFlagRTL8720(); #endif - - #if (DRD_GENERIC_DEBUG) - delay(1000); - readFlagRTL8720(); - #endif - + #endif //(DRD_GENERIC_USE_EEPROM || DRD_GENERIC_USE_STM32) /////////////////////////////