aboutsummaryrefslogtreecommitdiff
path: root/AT91SAM7S256/Source/d_bt.c
diff options
context:
space:
mode:
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);