Fixed missing prototype warning in lighting.c module. (#1085)

This commit is contained in:
Steve Karg
2025-08-29 17:00:15 -05:00
committed by GitHub
parent 55107e96b7
commit a70a02a6f9
3 changed files with 12 additions and 2 deletions
+10 -1
View File
@@ -1,7 +1,7 @@
# BACnet Stack ChangeLog # BACnet Stack ChangeLog
BACnet open source protocol stack C library for embedded systems, BACnet open source protocol stack C library for embedded systems,
microcontrollers, Linux, MacOS, BSD, and Windows microcontrollers, Linux, macOS, BSD, and Windows
All notable changes to this project will be documented in this file. All notable changes to this project will be documented in this file.
@@ -22,6 +22,8 @@ The git repositories are hosted at the following sites:
### Added ### Added
* Added bacnet_recipient_device_set() and bacnet_recipient_address_set()
API. (#1083)
* Added MS/TP datalink option to BACnet basic server example. (#1077) * Added MS/TP datalink option to BACnet basic server example. (#1077)
* Added fixups to Microsoft Visual Studio build: added server-mini, etc. (#1061) * Added fixups to Microsoft Visual Studio build: added server-mini, etc. (#1061)
* Added WriteProperty to GTK Discover app. For enumerated properties, * Added WriteProperty to GTK Discover app. For enumerated properties,
@@ -98,6 +100,13 @@ The git repositories are hosted at the following sites:
### Fixed ### Fixed
* Fixed missing prototype warning in lighting.c module.
* Fixed AddListElement and RemoveListElement which were checking
the wrong return value from Device object. Fixed decoding of
ListElement Tag 0: Object ID instance. (#1083)
* Fixed Notification_Class_Add_List_Element() and
Notification_Class_Remove_List_Element() element counter index
and empty slot detection. (#1083)
* Fixed win32 builds where UNICODE is defined. The code now uses CreateFileA * Fixed win32 builds where UNICODE is defined. The code now uses CreateFileA
instead of CreateFile due to ANSI-C filenames. (#1076) instead of CreateFile due to ANSI-C filenames. (#1076)
* Fixed the usage of index vs instance in the basic trend log object * Fixed the usage of index vs instance in the basic trend log object
+1 -1
View File
@@ -26,7 +26,7 @@ In order to build bacnet stack library for linux, user needs to install
libconfig-dev, libcap-dev and libssl-dev to the system. Most easiest way to do libconfig-dev, libcap-dev and libssl-dev to the system. Most easiest way to do
that is to use Advanced Packaging Tool (APT), check bsc-test-linux.yml. that is to use Advanced Packaging Tool (APT), check bsc-test-linux.yml.
For MacOSX build user must install brew packet manager (https://brew.sh), For macOS X build user must install brew packet manager (https://brew.sh),
then install openssl using brew then build libwebsocket, check then install openssl using brew then build libwebsocket, check
.github/workflows/bsc-tests-macosx.yml. .github/workflows/bsc-tests-macosx.yml.
+1
View File
@@ -15,6 +15,7 @@
#include "bacnet/bacdcode.h" #include "bacnet/bacdcode.h"
#include "bacnet/bacreal.h" #include "bacnet/bacreal.h"
#include "bacnet/lighting.h" #include "bacnet/lighting.h"
#include "bacnet/basic/sys/color_rgb.h"
/** @file lighting.c Manipulate BACnet lighting command values */ /** @file lighting.c Manipulate BACnet lighting command values */