Commit f20868bb authored by Ivan Tyagov's avatar Ivan Tyagov

In current implementation (OPa UA information model awaise)

we support only two I2C slaves thus be consistent here, too.
parent e98ff7b7
...@@ -25,9 +25,9 @@ static int HEART_BEAT_INTERVAL = DEFAULT_HEART_BEAT_INTERVAL; ...@@ -25,9 +25,9 @@ static int HEART_BEAT_INTERVAL = DEFAULT_HEART_BEAT_INTERVAL;
const int DEFAULT_HEART_BEAT_TIMEOUT_INTERVAL = 4 * DEFAULT_HEART_BEAT_INTERVAL; const int DEFAULT_HEART_BEAT_TIMEOUT_INTERVAL = 4 * DEFAULT_HEART_BEAT_INTERVAL;
static int HEART_BEAT_TIMEOUT_INTERVAL = DEFAULT_HEART_BEAT_TIMEOUT_INTERVAL; static int HEART_BEAT_TIMEOUT_INTERVAL = DEFAULT_HEART_BEAT_TIMEOUT_INTERVAL;
// the list of couplers onto which we depend for properly running$ // the list of couplers onto which we depend for properly running
// XXX: assume ONLY 8 couplers! // XXX: assume ONLY 2 couplers as this is what we expose in OPA UA model anyway!
unsigned int HEART_BEAT_ID_LIST[] = {0, 0, 0, 0, 0, 0, 0, 0}; unsigned int HEART_BEAT_ID_LIST[] = {0, 0};
// the interval for publishing messages$ // the interval for publishing messages$
static int PUBLISHING_INTERVAL = 10; static int PUBLISHING_INTERVAL = 10;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment