Closed kb0thn closed 9 years ago
// Clear RX buffer. Clear RDA interrupt flag. Clear overrun error flag. while ( kbhit(MODBUS_SERIAL) ) { fprintf(DEBUG,"# reading starting ..."); fgetc(MODBUS_SERIAL); fprintf(DEBUG," complete"); }
actually a whole bunch of unnecessary debugging