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:
skarg
2010-02-11 23:14:53 +00:00
parent f10629260e
commit d7ec61eb21
27 changed files with 62 additions and 42 deletions
-4
View File
@@ -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 */
-4
View File
@@ -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 */
-4
View File
@@ -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 */
-4
View File
@@ -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 */
-4
View File
@@ -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 */
-4
View File
@@ -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 */
-4
View File
@@ -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 */
-4
View File
@@ -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 */
-4
View File
@@ -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 */
-4
View File
@@ -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 */