energia/Energia — pull request #185 by jcRBern (2013-02-09 23:07:11+00:00)
Title: Patch 1

The file SerialHarware.cpp must be modified as described here:

// present code start at line 386
while(RX_BUFFER_FULL);
rxBuffer[rxWriteIndex] =
(unsigned char)(lChar & 0xFF);
rxWriteIndex = ((rxWriteIndex) + 1) % SERIAL_BUFFER_SIZE;

//new code
while(RX_BUFFER_FULL){
rxBuffer[rxWriteIndex] =
(unsigned char)(lChar & 0xFF);
rxWriteIndex = ((rxWriteIndex) + 1) % SERIAL_BUFFER_SIZE;}

this correct the overflow error in writing the reception ring buffer !!!!!!

jcRBern