Fixed ports/xplained conversion of double warning. (#1004)
* Fixed ports/xplained conversion of double warning. * Fixed BACNET_USE_DOUBLE usage in AVR ports. * Fixed integer out-of-range in AVR port. * Fixed missing function prototype for whois_request_encode().
This commit is contained in:
@@ -13,6 +13,10 @@
|
||||
/* BACnet Stack API */
|
||||
#include "bacnet/bacint.h"
|
||||
|
||||
#ifndef BACNET_USE_SIGNED
|
||||
#define BACNET_USE_SIGNED 1
|
||||
#endif
|
||||
|
||||
int encode_unsigned16(uint8_t *apdu, uint16_t value)
|
||||
{
|
||||
if (apdu) {
|
||||
|
||||
Reference in New Issue
Block a user