Browse Source

Reduce baud rate to 9600 to prevent errors due to Qemu being slow

v6
Lance Ward 3 years ago committed by minexew
parent
commit
2a02969a53
  1. 2
      Adam/Net/SnailLib.HC
  2. 2
      Apps/Mfa.HC

2
Adam/Net/SnailLib.HC

@ -56,7 +56,7 @@ static U0 ReadBlock(U8* buf, I64 count) {
I64 SocketInit() {
U8 chr;
snail_comm = CommInit8n1(SNAIL_COM, 115200);
snail_comm = CommInit8n1(SNAIL_COM, 9600);
while (FifoU8Rem(snail_comm->RX_fifo, &chr)) {}
CommPutChar(SNAIL_COM, CMD_HELLO);

2
Apps/Mfa.HC

@ -35,7 +35,7 @@ U0 ReadBlk(U8* buf, I64 count) {
U0 Mfa() {
U8 command;
comm = CommInit8n1(MFA_COM, 115200);
comm = CommInit8n1(MFA_COM, 9600);
while (FifoU8Rem(comm->RX_fifo, &command)) {}
"$FG,5$minimalist file access\n"

Loading…
Cancel
Save