Skip to content

Commit

Permalink
some fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
raspiduino committed Sep 24, 2023
1 parent d5431f9 commit dbb5cbe
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions main.c
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ unsigned long millis(void) {
ATOMIC_BLOCK(ATOMIC_FORCEON) {
millis_return = timer1_millis;
}

return millis_return;
}

Expand Down Expand Up @@ -203,7 +203,7 @@ int main(void) {

// Dump state
dump_state();
UART_pputs("\r\nDump completed. Emulator will continue when B1 is set back to HIGH\r\n");
UART_pputs("Dump completed. Emulator will continue when B1 is set back to HIGH\r\n");

// Wait until B1 is set back to HIGH
while (!(PINB & (1 << PINB1)));
Expand Down Expand Up @@ -343,6 +343,7 @@ void read_buf(UInt32 ofs, UInt8 flag) {
while(1); // Halt
}

_delay_ms(100);
goto read_begin;
}
}
Expand Down Expand Up @@ -395,6 +396,7 @@ void read_bufi(UInt32 ofs, UInt8 flag) {
while(1); // Halt
}

_delay_ms(100);
goto readi_begin;
}
}
Expand Down Expand Up @@ -429,6 +431,7 @@ void write_buf(void) {
while(1); // Halt
}

_delay_ms(100);
goto write_begin;
}
}
Expand Down

0 comments on commit dbb5cbe

Please sign in to comment.