ConductivitySensors.c

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Why two output lines?

Why two output lines?

All cases seem a little off on indents, especially this one.

All cases seem a little off on indents, especially this one.

For default cases (throughout this unit), we either need a s/w fault (because this should never happen and indicates memory corruption) or a comment noting it is ok to ignore invalid cases (command...

For default cases (throughout this unit), we either need a s/w fault (because this should never happen and indicates memory corruption) or a comment noting it is ok to ignore invalid cases (commands in this case).

Should we be calling get function in monitor instead of driver here?

Should we be calling get function in monitor instead of driver here?

No overrides?

No overrides?

Fix indent.

Fix indent.

Use a #define instead of 1000.

Use a #define instead of 1000.

If no parameters, just don't have any param lines (don't say none).

If no parameters, just don't have any param lines (don't say none).

No param, so remove this line.

No param, so remove this line.

measurementSettingsTX is an output.

measurementSettingsTX is an output.

Seems like eePromDataTX is an output, not an input.

Seems like eePromDataTX is an output, not an input.

Remove extra blank line.

Remove extra blank line.

Remove extra blank line.

Remove extra blank line.

Add comment to right.

Add comment to right.

///

///

Add space between } and type name.

Add space between } and type name.

///

///

Add space between } and type name.

Add space between } and type name.

///

///

Add space between } and type name.

Add space between } and type name.

///

///

///

///

Use /// here so doxygen will pick it up.

Use /// here so doxygen will pick it up.

Comment seems backward. Uncommenting would enable the Teensy driver, right?

Comment seems backward. Uncommenting would enable the Teensy driver, right?

Are we not supporting overrides with TEENSY driver?

Are we not supporting overrides with TEENSY driver?

#ifdef

#ifdef

Should be calling get function in monitor (not driver).

Should be calling get function in monitor (not driver).

Agree, but this is a temporary driver so I don't want to spend too much time making this unit perfect.

Agree, but this is a temporary driver so I don't want to spend too much time making this unit perfect.

Why are we doing pre-increment instead of post-increment? I don't think it matters in for loop, but this looks non-standard to me.

Why are we doing pre-increment instead of post-increment? I don't think it matters in for loop, but this looks non-standard to me.

I don't see support for that with our compiler. Author of code must ensure destination buffer is large enough to hold the specified number of bytes being copied. Code reviewer should verify this.

I don't see support for that with our compiler. Author of code must ensure destination buffer is large enough to hold the specified number of bytes being copied. Code reviewer should verify this.