Fixed compiler warnings.
This commit is contained in:
@@ -33,6 +33,7 @@
|
|||||||
#include "bacenum.h"
|
#include "bacenum.h"
|
||||||
#include "config.h" /* the custom stuff */
|
#include "config.h" /* the custom stuff */
|
||||||
#include "wp.h"
|
#include "wp.h"
|
||||||
|
#include "hardware.h"
|
||||||
#include "led.h"
|
#include "led.h"
|
||||||
#include "nvdata.h"
|
#include "nvdata.h"
|
||||||
#include "bo.h"
|
#include "bo.h"
|
||||||
@@ -198,7 +199,7 @@ BACNET_POLARITY Binary_Output_Polarity(
|
|||||||
BACNET_POLARITY polarity = POLARITY_NORMAL;
|
BACNET_POLARITY polarity = POLARITY_NORMAL;
|
||||||
|
|
||||||
if (instance < MAX_BINARY_OUTPUTS) {
|
if (instance < MAX_BINARY_OUTPUTS) {
|
||||||
polarity = Polarity[instance];
|
polarity = (BACNET_POLARITY)Polarity[instance];
|
||||||
}
|
}
|
||||||
|
|
||||||
return polarity;
|
return polarity;
|
||||||
|
|||||||
Reference in New Issue
Block a user