Stuff not working

This commit is contained in:
Mark Qvist 2014-04-07 01:15:52 +02:00
parent e5513801f6
commit c12cd16bd9
5 changed files with 7 additions and 6 deletions

View file

@ -4,7 +4,7 @@
//////////////////////////////////////////////////////
#include <cpu/irq.h> // Interrupt functionality from BertOS
#include <cfg/debug.h> // Debug configuration from BertOS
#include "cfg/debug.h" // Debug configuration from BertOS
#include <drv/ser.h> // Serial driver from BertOS
#include <drv/timer.h> // Timer driver from BertOS
@ -101,6 +101,7 @@ int main(void)
// and the byte is not a "transmit" (newline) character,
// we should store it for transmission.
if ((serialLen < MP1_MAX_FRAME_LENGTH) && (sbyte != 138)) {
kprintf("%d\n", sbyte);
// Put the read byte into the buffer;
serialBuffer[serialLen] = sbyte;
// Increment the read length counter