Skip to content
Snippets Groups Projects
Commit 688ac467 authored by rswindell's avatar rswindell
Browse files

Added a 10-millisecond delay in the node.dab locking loop. Hopefully this

resolves Waldo Kitty's reported problem with SBL.
parent 532fe42e
No related branches found
No related tags found
No related merge requests found
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
* @format.tab-size 4 (Plain Text/Source Code File Header) * * @format.tab-size 4 (Plain Text/Source Code File Header) *
* @format.use-tabs true (see http://www.synchro.net/ptsc_hdr.html) * * @format.use-tabs true (see http://www.synchro.net/ptsc_hdr.html) *
* * * *
* Copyright 2008 Rob Swindell - http://www.synchro.net/copyright.html * * Copyright Rob Swindell - http://www.synchro.net/copyright.html *
* * * *
* This library is free software; you can redistribute it and/or * * This library is free software; you can redistribute it and/or *
* modify it under the terms of the GNU Lesser General Public License * * modify it under the terms of the GNU Lesser General Public License *
...@@ -2253,7 +2253,9 @@ void xsdk_getnodedat(int number, node_t *node, char lockit) ...@@ -2253,7 +2253,9 @@ void xsdk_getnodedat(int number, node_t *node, char lockit)
continue; } continue; }
if(read(nodefile,node,sizeof(node_t))==sizeof(node_t)) if(read(nodefile,node,sizeof(node_t))==sizeof(node_t))
break; break;
count++; } count++;
mswait(10);
}
if(count==LOOP_NODEDAB) if(count==LOOP_NODEDAB)
bputs("\7Error unlocking and reading node.dab\r\n"); bputs("\7Error unlocking and reading node.dab\r\n");
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment