aboutsummaryrefslogtreecommitdiff
path: root/AT91SAM7S256/Source/d_bt.c
diff options
context:
space:
mode:
authorTat-Chee Wan (USM)2011-07-04 08:03:23 +0800
committerTat-Chee Wan (USM)2011-07-04 08:03:23 +0800
commitc10627a2a5a048752d1d8b777ad87a0aca7929c1 (patch)
tree64f27317f1ac30844938fcd5cd7b4da20039bb37 /AT91SAM7S256/Source/d_bt.c
parenta307367bdfbadd2ce7516b8a373c52c505c47964 (diff)
parentc331530002825a86f12151266a9772167a3a49ce (diff)
Merge remote branch 'nicolas/jch-merge'
Diffstat (limited to 'AT91SAM7S256/Source/d_bt.c')
-rw-r--r--AT91SAM7S256/Source/d_bt.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/AT91SAM7S256/Source/d_bt.c b/AT91SAM7S256/Source/d_bt.c
index 6e3e47d..cac6e76 100644
--- a/AT91SAM7S256/Source/d_bt.c
+++ b/AT91SAM7S256/Source/d_bt.c
@@ -56,9 +56,9 @@ void dBtStartADConverter(void)
BTStartADConverter;
}
-void dBtInitReceive(UBYTE *InputBuffer, UBYTE Mode)
+void dBtInitReceive(UBYTE *InputBuffer, UBYTE Mode, UBYTE NoLengthBytes)
{
- BTInitReceiver(InputBuffer, Mode);
+ BTInitReceiver(InputBuffer, Mode, NoLengthBytes);
}
void dBtSetArm7CmdSignal(void)
@@ -124,12 +124,12 @@ void dBtSend(UBYTE *OutputBuffer, UBYTE BytesToSend)
BTSend(OutputBuffer, BytesToSend);
}
-UWORD dBtReceivedData(UWORD *pLength, UWORD *pBytesToGo)
+UWORD dBtReceivedData(UWORD *pLength, UWORD *pBytesToGo, UBYTE NoLengthBytes)
{
UWORD RtnVal;
RtnVal = TRUE;
- BTReceivedData(pLength, pBytesToGo);
+ BTReceivedData(pLength, pBytesToGo, NoLengthBytes);
if (*pLength)
{
SETTimeout(0);