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:
Steve Karg
2025-05-26 22:13:06 -05:00
committed by GitHub
parent f983df7fae
commit f5b5db445c
10 changed files with 53 additions and 19 deletions
+4
View File
@@ -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) {