Corrected compile errors in PIC port for MS/TP. Untested.

This commit is contained in:
skarg
2008-11-28 22:05:46 +00:00
parent 63f3f77552
commit 1ad2da7895
4 changed files with 47 additions and 40 deletions
+2 -1
View File
@@ -164,8 +164,9 @@ bool FIFO_Add(
/* limit the ring to prevent overwriting */
if (FIFO_Available (b, count)) {
while (count) {
b->buffer[b->head % b->buffer_len] = data_byte;
b->buffer[b->head % b->buffer_len] = *data_bytes;
b->head++;
data_bytes++;
count--;
}
status = true;