Moved apdu decode into unit test where it was being used since it is being decoded in apdu.c in normal usage.

This commit is contained in:
skarg
2006-08-10 20:14:32 +00:00
parent e5239e3e73
commit 6230600eeb
8 changed files with 31 additions and 31 deletions
+2 -2
View File
@@ -68,6 +68,8 @@ extern "C" {
BACNET_COMMUNICATION_ENABLE_DISABLE * enable_disable,
BACNET_CHARACTER_STRING * password);
#ifdef TEST
#include "ctest.h"
int dcc_decode_apdu(uint8_t * apdu,
unsigned apdu_len,
uint8_t * invoke_id,
@@ -75,8 +77,6 @@ extern "C" {
BACNET_COMMUNICATION_ENABLE_DISABLE * enable_disable,
BACNET_CHARACTER_STRING * password);
#ifdef TEST
#include "ctest.h"
void test_DeviceCommunicationControl(Test * pTest);
#endif