ModeTreatment.c

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Add blank line between declarations and code.

Add blank line between declarations and code.

Fix indenting.

Fix indenting.

Fix indenting. It's too deep.

Fix indenting. It's too deep.

Fix indent.

Fix indent.

Remove extra blank line.

Remove extra blank line.

Fix indent.

Fix indent.

Fix indent.

Fix indent.

Fix indent.

Fix indent.

Give each alarm its own line.

Give each alarm its own line.

Add doxygen comment to right.

Add doxygen comment to right.

Add blank line between includes and group header.

Add blank line between includes and group header.

Library includes should be first and using <> instead of "". Add comment to right explaining what we're including string.h for.

Library includes should be first and using <> instead of "". Add comment to right explaining what we're including string.h for.

Alphabetize.

Alphabetize.

Remove if statements. Just call both set functions regardless of current state.

Remove if statements. Just call both set functions regardless of current state.

Fix indent. Move up above Dialin "test" message handlers.

Fix indent. Move up above Dialin "test" message handlers.

Alphabetize.

Alphabetize.

Follow naming convention that other states have set. This unit should be called StateTxTreatmentEnd.

Follow naming convention that other states have set. This unit should be called StateTxTreatmentEnd.

Shouldn't this be in your TreatmentEnd unit?

Shouldn't this be in your TreatmentEnd unit?

Who calls this function? It's public, but no prototype in header file.

Who calls this function? It's public, but no prototype in header file.

What is this function doing in Dialysis unit? And who is calling it? It's public, but I don't see that you added it to header file so nobody can call it anyway.

What is this function doing in Dialysis unit? And who is calling it? It's public, but I don't see that you added it to header file so nobody can call it anyway.

Why add tx end state here?

Why add tx end state here?

Remove extra blank line.

Remove extra blank line.

Keep blank line between functions.

Keep blank line between functions.

Add blank line before return.

Add blank line before return.

Remove blank lines.

Remove blank lines.

Alphabetize.

Alphabetize.

Why include twice?

Why include twice?

Remove extra blank line.

Remove extra blank line.

Fix indents

Fix indents

Fix indents and align with others.

Fix indents and align with others.