Open u0078867 opened 4 years ago
Did anyone experience random infinite loop while calibrating?
while (samples < 0x1F) { samples = (xgReadByte(FIFO_SRC) & 0x3F); // Read number of stored samples }
When this happens the first time (randomly and seldom), the only solution is to disconnect Vcc...
I think it is safe to put a timeout condition to exit the loop.
What do you think?
Did anyone experience random infinite loop while calibrating?
When this happens the first time (randomly and seldom), the only solution is to disconnect Vcc...
I think it is safe to put a timeout condition to exit the loop.
What do you think?