Commit f9255000 authored by Yuri Chornoivan's avatar Yuri Chornoivan
Browse files

Fix minor issues found by EBN

parent 5b34da87
......@@ -177,7 +177,7 @@ class SensorDisplay : public QWidget, public SensorClient
virtual void sensorError( int sensorId, bool mode );
/**
Normaly you shouldn't reimplement this methode
Normally you shouldn't reimplement this method
*/
void sensorLost( int reqId ) override;
......
......@@ -166,7 +166,7 @@ void registerAnyMonitor( const char* command, const char* type, cmdExecutor ex,
* the second is the info request command. The info request command is
* identical to the value request but with an '?' appended. The value
* command prints a single value. The info request command prints
* a description of the monitor, the mininum value, the maximum value
* a description of the monitor, the minimum value, the maximum value
* and the unit. */
Command* cmd = (Command*)malloc( sizeof( Command ) );
if(!cmd || !(cmd->command = (char*)malloc( strlen( command ) + 1 ))) {
......
......@@ -76,7 +76,7 @@ typedef struct DiskIOInfo
/* We have observed deviations of up to 5% in the accuracy of the timer
* interrupts. So we try to measure the interrupt interval and use this
* value to calculate timing dependant values. */
* value to calculate timing dependent values. */
static float timeInterval = 0;
static struct timeval lastSampling;
static struct timeval currSampling;
......
......@@ -140,7 +140,7 @@ typedef struct
/* We have observed deviations of up to 5% in the accuracy of the timer
* interrupts. So we try to measure the interrupt interval and use this
* value to calculate timing dependant values. */
* value to calculate timing dependent values. */
static float timeInterval = 0;
static struct timeval lastSampling;
static struct timeval currSampling;
......@@ -372,11 +372,11 @@ void initNetDev( struct SensorModul* sm )
}
FORALLWIFI( REGISTERSENSOR );
}
FORALLWIFI( SETMEMBERZERO ); /* the variable i must point to the corrrect NetDevs[i]*/
FORALLWIFI( SETMEMBERZERO ); /* the variable i must point to the correct NetDevs[i]*/
}
}
/* Call processNetDev to elimitate initial peek values. */
/* Call processNetDev to eliminate initial peek values. */
processNetDev();
}
......
......@@ -85,7 +85,7 @@ static int StatDirty = 0;
/* We have observed deviations of up to 5% in the accuracy of the timer
* interrupts. So we try to measure the interrupt interval and use this
* value to calculate timing dependant values. */
* value to calculate timing dependent values. */
static float timeInterval = 0;
static struct timeval lastSampling;
static struct timeval currSampling;
......
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