Browse Source

Removed bs.

Thomas Buck 12 years ago
parent
commit
573fdbbe77
1 changed files with 1 additions and 4 deletions
  1. 1
    4
      HardwareEmulator/main.c

+ 1
- 4
HardwareEmulator/main.c View File

@@ -198,13 +198,10 @@ int recieveFrames() {
198 198
 				while (1) {
199 199
 					size = serialRead(&c, 1);
200 200
 					if (size == 1) {
201
-						break;
201
+						break; // We got our data byte
202 202
 					} else if (size == -1) {
203 203
 						printf("Could not read from psuedo terminal!\n");
204 204
 						return -1;
205
-					} else if (size == 0) {
206
-						//printf("No data for number %d\n", d);
207
-						break;
208 205
 					}
209 206
 				}
210 207
 				data[d] = c;

Loading…
Cancel
Save