aboutsummaryrefslogtreecommitdiff
path: root/AT91SAM7S256/Source/c_comm.c
diff options
context:
space:
mode:
authortcsadmin2010-08-25 14:55:58 +0000
committerNicolas Schodet2011-07-04 00:37:02 +0200
commit87bea887659a34dec0fa01f87ed5b59e5ba701d7 (patch)
treed03856749410a512e92ffaf4f6d72ac75b13aa39 /AT91SAM7S256/Source/c_comm.c
parent2d194ca30a8b1b15749098a1a1aa7f6a47fe6299 (diff)
whitespace changes
git-svn-id: https://mindboards.svn.sourceforge.net/svnroot/mindboards/lms_nbcnxc_128/trunk@16 c9361245-7fe8-9947-84e8-057757c4e366
Diffstat (limited to 'AT91SAM7S256/Source/c_comm.c')
-rw-r--r--AT91SAM7S256/Source/c_comm.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/AT91SAM7S256/Source/c_comm.c b/AT91SAM7S256/Source/c_comm.c
index 610d369..f550ca3 100644
--- a/AT91SAM7S256/Source/c_comm.c
+++ b/AT91SAM7S256/Source/c_comm.c
@@ -219,6 +219,7 @@ void cCommCtrl(void)
}
}
break;
+
case BT_ARM_DATA_MODE:
case BT_ARM_GPS_MODE:
case BT_ARM_RAW_MODE:
@@ -1229,16 +1230,16 @@ UWORD cCommReceivedBtData(void)
{
if (VarsComm.BtState == BT_ARM_DATA_MODE)
{
-
+
/* Move the inptr ahead */
IOMapComm.BtInBuf.InPtr = NumberOfBytes;
-
+
/* using the outbuf inptr in order to get the number of bytes in the return answer at the right place*/
IOMapComm.BtOutBuf.InPtr = NumberOfBytes;
-
+
/* call the data stream interpreter */
cCommInterprete(IOMapComm.BtInBuf.Buf, IOMapComm.BtOutBuf.Buf, &(IOMapComm.BtOutBuf.InPtr), (UBYTE) BT_CMD_READY, BytesToGo);
-
+
/* if there is a reply to be sent then send it */
if (IOMapComm.BtOutBuf.InPtr)
{