make larger chance to see a second
This commit is contained in:
parent
4aa815349f
commit
27c8cdb9ce
|
@ -81,6 +81,7 @@ static int read_rtc(int reg) {
|
|||
static void wait_sec() {
|
||||
while (1) {
|
||||
int volatile s1 = read_rtc(0);
|
||||
for (int volatile i = 0; i < 1000; i++) ;
|
||||
int volatile s2 = read_rtc(0);
|
||||
if (s1 != s2) {
|
||||
return;
|
||||
|
|
Loading…
Reference in New Issue