Modified the PIC port MS/TP RS-485 handling to use an interrupt safe FIFO library (untested).

This commit is contained in:
skarg
2008-11-28 13:37:42 +00:00
parent 858adac724
commit 63f3f77552
5 changed files with 90 additions and 98 deletions
+5
View File
@@ -70,6 +70,11 @@ bool FIFO_Put(
FIFO_BUFFER * b,
uint8_t data_byte);
bool FIFO_Add(
FIFO_BUFFER * b,
uint8_t *data_bytes,
unsigned count);
/* note: buffer_len must be a power of two */
void FIFO_Init(
FIFO_BUFFER * b,