Moved the DCC of the COV handler into the handler.

This commit is contained in:
skarg
2011-10-03 21:49:10 +00:00
parent 2b0fac263c
commit 0d5c57b149
2 changed files with 5 additions and 3 deletions
+4
View File
@@ -39,6 +39,7 @@
#include "reject.h"
#include "cov.h"
#include "tsm.h"
#include "dcc.h"
/* demo objects */
#include "device.h"
#include "handlers.h"
@@ -321,6 +322,9 @@ static bool cov_send_request(
bool status = false; /* return value */
BACNET_COV_DATA cov_data;
if (!dcc_communication_enabled()) {
return status;
}
#if PRINT_ENABLED
fprintf(stderr, "COVnotification: requested\n");
#endif