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:
@@ -30,10 +30,6 @@
|
||||
#include "bacdef.h"
|
||||
#include "rp.h"
|
||||
|
||||
#ifndef MAX_ANALOG_INPUTS
|
||||
#define MAX_ANALOG_INPUTS 4
|
||||
#endif
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif /* __cplusplus */
|
||||
|
||||
@@ -32,10 +32,6 @@
|
||||
#include "rp.h"
|
||||
#include "wp.h"
|
||||
|
||||
#ifndef MAX_ANALOG_OUTPUTS
|
||||
#define MAX_ANALOG_OUTPUTS 4
|
||||
#endif
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif /* __cplusplus */
|
||||
|
||||
@@ -32,10 +32,6 @@
|
||||
#include "wp.h"
|
||||
#include "rp.h"
|
||||
|
||||
#ifndef MAX_ANALOG_VALUES
|
||||
#define MAX_ANALOG_VALUES 4
|
||||
#endif
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif /* __cplusplus */
|
||||
|
||||
@@ -32,10 +32,6 @@
|
||||
#include "rp.h"
|
||||
#include "wp.h"
|
||||
|
||||
#ifndef MAX_BINARY_INPUTS
|
||||
#define MAX_BINARY_INPUTS 5
|
||||
#endif
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif /* __cplusplus */
|
||||
|
||||
@@ -32,10 +32,6 @@
|
||||
#include "rp.h"
|
||||
#include "wp.h"
|
||||
|
||||
#ifndef MAX_BINARY_OUTPUTS
|
||||
#define MAX_BINARY_OUTPUTS 4
|
||||
#endif
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif /* __cplusplus */
|
||||
|
||||
@@ -32,10 +32,6 @@
|
||||
#include "rp.h"
|
||||
#include "wp.h"
|
||||
|
||||
#ifndef MAX_BINARY_VALUES
|
||||
#define MAX_BINARY_VALUES 10
|
||||
#endif
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif /* __cplusplus */
|
||||
|
||||
@@ -32,10 +32,6 @@
|
||||
#include "rp.h"
|
||||
#include "wp.h"
|
||||
|
||||
#ifndef MAX_LIFE_SAFETY_POINTS
|
||||
#define MAX_LIFE_SAFETY_POINTS 7
|
||||
#endif
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif /* __cplusplus */
|
||||
|
||||
@@ -32,10 +32,6 @@
|
||||
#include "rp.h"
|
||||
#include "wp.h"
|
||||
|
||||
#ifndef MAX_MULTISTATE_INPUTS
|
||||
#define MAX_MULTISTATE_INPUTS 1
|
||||
#endif
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif /* __cplusplus */
|
||||
|
||||
@@ -32,10 +32,6 @@
|
||||
#include "rp.h"
|
||||
#include "wp.h"
|
||||
|
||||
#ifndef MAX_MULTISTATE_OUTPUTS
|
||||
#define MAX_MULTISTATE_OUTPUTS 4
|
||||
#endif
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif /* __cplusplus */
|
||||
|
||||
@@ -32,10 +32,6 @@
|
||||
#include "rp.h"
|
||||
#include "wp.h"
|
||||
|
||||
#ifndef MAX_TREND_LOGS
|
||||
#define MAX_TREND_LOGS 8
|
||||
#endif
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif /* __cplusplus */
|
||||
|
||||
Reference in New Issue
Block a user