Commit 01f15886 authored by Ivan Tyagov's avatar Ivan Tyagov

Typos and cosmetics.

parent 08ad914a
...@@ -36,7 +36,7 @@ ...@@ -36,7 +36,7 @@
unsigned long int getMilliSecondsSinceEpoch() { unsigned long int getMilliSecondsSinceEpoch() {
/* /*
* Return milli seconds since epoch. * Return milliseconds since epoch.
*/ */
struct timeval current_time; struct timeval current_time;
gettimeofday(&current_time, NULL); gettimeofday(&current_time, NULL);
......
...@@ -102,5 +102,4 @@ void gotoNormalMode() { ...@@ -102,5 +102,4 @@ void gotoNormalMode() {
UA_LOGCATEGORY_USERLAND, \ UA_LOGCATEGORY_USERLAND, \
"Go to NORMAL MODE"); "Go to NORMAL MODE");
I2C_VIRTUAL_MODE = 0; I2C_VIRTUAL_MODE = 0;
} }
...@@ -80,7 +80,6 @@ static void dataChangeNotificationCallback(UA_Server *server, UA_UInt32 monitore ...@@ -80,7 +80,6 @@ static void dataChangeNotificationCallback(UA_Server *server, UA_UInt32 monitore
// set GPIO so we can monitor using logical analyzer the work of // set GPIO so we can monitor using logical analyzer the work of
// keep-alive network system // keep-alive network system
if (CURRENT_GPIO_MODE == 1) setGPIO(); if (CURRENT_GPIO_MODE == 1) setGPIO();
} }
} }
} }
......
...@@ -96,7 +96,7 @@ static void addVariable(UA_Server *server) ...@@ -96,7 +96,7 @@ static void addVariable(UA_Server *server)
/* /*
* Create all variables representing MOD-IO's relays * Create all variables representing MOD-IO's relays
*/ */
int i,n;; int i,n;
int length = getI2CSlaveListLength(); int length = getI2CSlaveListLength();
char *node_id = malloc(sizeof(char) * 10); char *node_id = malloc(sizeof(char) * 10);
char *node_title = malloc(sizeof(char) * 30); char *node_title = malloc(sizeof(char) * 30);
......
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