Increase power-on timings, but skip during watchdog reset
This commit is contained in:
@@ -212,8 +212,10 @@ int main()
|
|||||||
|
|
||||||
#if defined(PCBHORUS)
|
#if defined(PCBHORUS)
|
||||||
// wait a bit for the inputs to stabilize...
|
// wait a bit for the inputs to stabilize...
|
||||||
for (uint32_t i = 0; i < 50000; i++) {
|
if (!WAS_RESET_BY_WATCHDOG_OR_SOFTWARE()) {
|
||||||
__ASM volatile ("nop");
|
for (uint32_t i = 0; i < 150000; i++) {
|
||||||
|
__ASM volatile ("nop");
|
||||||
|
}
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user