diff --git a/modules/LightRing_1-2/module.c b/modules/LightRing_1-2/module.c index eb60eb2a8740f69499835c6f5779fefcf85fc842..a596b9d65e66dc6accd843a2c13152d4be391413 100644 --- a/modules/LightRing_1-2/module.c +++ b/modules/LightRing_1-2/module.c @@ -589,10 +589,12 @@ void moduleInitPeripheryInterfaces() /*min reset stable time for esp32 is 50µs*/ /*looks like the esp is somehow delaying something in the startup process of the lightring!*/ /*might be uartUp, therefore we need to wait longer than SSSP timerout (10ms is not working)*/ - aosThdMSleep(50); + /*with 50ms esp and startup is working but SSSP has wrong modules and no ids*/ + aosThdMSleep(1000); palWriteLine(LINE_IO_1, PAL_HIGH); - + /* Wait after SSSP finishes so that date/time sync works */ + aosThdMSleep(3000); #endif /* (BOARD_BREAKOUT_MODULE == BOARD_BREAKOUT_ESP)*/ return;