Temperature.c

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
its auto generated . should not change it manually. any way when merging its added correct value

its auto generated . should not change it manually. any way when merging its added correct value

Now we don't need this macro ?

Now we don't need this macro ?

now we are initializing sensor simultaneously?

now we are initializing sensor simultaneously?

comments missing

comments missing

comments missing

comments missing

This is not clear- please give a detailed description for this variable

This is not clear- please give a detailed description for this variable

use capital for starting letter

use capital for starting letter

please align the comments

please align the comments

please Alignment the comments

please Alignment the comments

Why the order is important here ? please document it

Why the order is important here ? please document it

do we need bracket here ? all text should start with capital

do we need bracket here ? all text should start with capital

Why a * here ?

Why a * here ?

is it write states or read state ?

is it write states or read state ?

is documentation correct ?

is documentation correct ?

Why do some functions take sensor as a U32 and some as a CONDUCTIVITY_SENSORS_T? The latter seems appropriate.

Why do some functions take sensor as a U32 and some as a CONDUCTIVITY_SENSORS_T? The latter seems appropriate.

Remove blank line.

Remove blank line.

Remove blank line.

Remove blank line.

Add blank line before return.

Add blank line before return.

Add blank line before return.

Add blank line before return.

Remove blank line.

Remove blank line.

Why are we switching sensors around?

Why are we switching sensors around?

Why D43?

Why D43?

Remove blank line.

Remove blank line.

Should we be filtering a new sample every 700ms or should we do it when a new sample is received? FPGA is giving us a read count right? So we will know when we have a new data set from sensor. It m...

Should we be filtering a new sample every 700ms or should we do it when a new sample is received?
FPGA is giving us a read count right? So we will know when we have a new data set from sensor. It makes more sense to me to take them when they come. Otherwise, we will get out of phase with true sample frequency and occasionally process the previous sample again (if true sample freq is a little slower than 700ms) or miss a sample (if true sample freq is a little faster than 700ms).

Why do we need these static interval variables when we have the constants?

Why do we need these static interval variables when we have the constants?

Remove blank line.

Remove blank line.

Not sure these min/max are right here either.

Not sure these min/max are right here either.

So we have all temp sensors getting averaged now, right? So should we have one get function that takes a sensor ID as param?

So we have all temp sensors getting averaged now, right? So should we have one get function that takes a sensor ID as param?

Remove extra blank lines.

Remove extra blank lines.