I use a wifi check code to see if the device is connected to the AP if not it tries to reconnect with a delay 30 times if it cannot then it invokes ESP.restart() to restart the device.
I have the same code loaded into 10 different ESP8266 D1 minis, it's the exact same hardware however on 1 (the rest of the main program works just fine) this restart goes into an infinite loop and I would like to understand it why.
Looking at the ESP it clearly seems it keeps rebooting over and over with minimal delay because the blue led is blinking on it and it never comes back online.