Add core stack headers into bacdef.h and cleanup includes. (#602)
* Added dependent BACnet stack headers into bacdef.h file. * Changed bacdef.h and other stack includes in c/h files to have a common pattern. * Moved bits.h, bytes.h, and bacnet_stack_exports.h under bacnet/basic/sys/ folder.
This commit is contained in:
@@ -34,10 +34,10 @@
|
||||
#include <stdbool.h>
|
||||
#include <stdint.h>
|
||||
#include <stddef.h>
|
||||
#include "bacnet/bits.h"
|
||||
/* BACnet Stack defines - first */
|
||||
#include "bacnet/bacdef.h"
|
||||
/* BACnet Stack API */
|
||||
#include "bacnet/bacdcode.h"
|
||||
#include "bacnet/bacenum.h"
|
||||
#include "bacnet/dcc.h"
|
||||
#include "bacnet/basic/services.h"
|
||||
/* me */
|
||||
|
||||
@@ -49,15 +49,17 @@
|
||||
#if PRINT_ENABLED
|
||||
#include <stdio.h>
|
||||
#endif
|
||||
/* BACnet Stack defines - first */
|
||||
#include "bacnet/bacdef.h"
|
||||
/* BACnet Stack API */
|
||||
#include "bacnet/datalink/mstp.h"
|
||||
#include "bacnet/bytes.h"
|
||||
#include "bacnet/bits.h"
|
||||
#include "crc.h"
|
||||
#include "bacnet/bacaddr.h"
|
||||
#include "rs485.h"
|
||||
#if PRINT_ENABLED
|
||||
#include "bacnet/datalink/mstptext.h"
|
||||
#endif
|
||||
/* port specific */
|
||||
#include "crc.h"
|
||||
#include "rs485.h"
|
||||
|
||||
/* debug print statements */
|
||||
#if PRINT_ENABLED
|
||||
|
||||
Reference in New Issue
Block a user