leahi-fwcommon

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Only 1 return per function.

Only 1 return per function.

If result is U08, why are we returning U16?

If result is U08, why are we returning U16?

Should just be one return statement in function. Set a local variable where you have returns, remove the returns, and then just return the local variable at the end of function (like it was before).

Should just be one return statement in function. Set a local variable where you have returns, remove the returns, and then just return the local variable at the end of function (like it was before).

Only 1 return statement per function.

Only 1 return statement per function.

Fix alignment of all of the | separators.

Fix alignment of all of the | separators.

This table should be sorted, so this row needs to be moved up now.

This table should be sorted, so this row needs to be moved up now.

Fix alignment.

Fix alignment.

Why remove these functions. All static functions should be prototyped up here.

Why remove these functions. All static functions should be prototyped up here.

S in status should be capitalized.

S in status should be capitalized.

Any reason why pwmInCount can't just be a U32?

Any reason why pwmInCount can't just be a U32?

Do we really need a start state? Can't we just start in off state.

Do we really need a start state? Can't we just start in off state.

Add detail for alarm.

Add detail for alarm.

Remove extra spaces before =.

Remove extra spaces before =.

Don't need #define for zero.

Don't need #define for zero.

Looks like publish function moved to monitor (priority task). I actually don't think publish function should have moved, but if we move it we need to change interval timing here.

Looks like publish function moved to monitor (priority task). I actually don't think publish function should have moved, but if we move it we need to change interval timing here.

I would consider leaving publish here. Monitor is called from priority task. CAN publishing happens in general task.

I would consider leaving publish here. Monitor is called from priority task. CAN publishing happens in general task.

Remove blank line.

Remove blank line.

We should be a little more descriptive in brief here. Describe calculation of pump speed, monitoring for pump speed alarms and publishing pump data.

We should be a little more descriptive in brief here. Describe calculation of pump speed, monitoring for pump speed alarms and publishing pump data.

I think we can say none for Outputs.

I think we can say none for Outputs.

I don't see an alarm triggered in this function.

I don't see an alarm triggered in this function.

Remove extra blank line.

Remove extra blank line.

We don't need #defines for zero unless zero has some kind of meaning beyond zero.

We don't need #defines for zero unless zero has some kind of meaning beyond zero.

If leak sensor is coming via FPGA, it doesn't belong in GPIO unit. This unit is for GPIO pins on our microprocessor. GPIO pins on FPGA should be gotten using get functions in the FpgaDD unit.

If leak sensor is coming via FPGA, it doesn't belong in GPIO unit. This unit is for GPIO pins on our microprocessor. GPIO pins on FPGA should be gotten using get functions in the FpgaDD unit.

Mask value seems wrong. please update per HDD.

Mask value seems wrong. please update per HDD.

This code review contains known issues, and it is not yet ready for a detailed review.

This code review contains known issues, and it is not yet ready for a detailed review.

this has already been addressed. I think you have commented on removed code.

this has already been addressed. I think you have commented on removed code.

added a todo for testing it after we have the new beta 2 units.

added a todo for testing it after we have the new beta 2 units.

added a todo for testing it after we have the new beta 2 units.

added a todo for testing it after we have the new beta 2 units.

We will be merging the latest staging and resolve the conflicts after the CR approval.

We will be merging the latest staging and resolve the conflicts after the CR approval.

Beta 1.0 and Beta 1.9 , there small difference, please check with Noe if he can re-implement the registers for conductivity in last part.

Beta 1.0 and Beta 1.9 , there small difference, please check with Noe if he can re-implement the registers for conductivity in last part.