Moved constants defining the number of each object back into the source files for the demo objects since the header files are currently common to all.
This commit is contained in:
@@ -138,7 +138,7 @@ static void bacnet_task(
|
||||
/* handle the inputs */
|
||||
value = adc_result(7);
|
||||
Analog_Input_Present_Value_Set(0, value);
|
||||
for (i = 0; i < MAX_BINARY_INPUTS; i++) {
|
||||
for (i = 0; i < 5; i++) {
|
||||
button_value = input_button_value(i);
|
||||
if (button_value) {
|
||||
binary_value = BINARY_ACTIVE;
|
||||
|
||||
Reference in New Issue
Block a user