DDInterface.c

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
will create a branch for dialin and make the necessary changes. Before merging will talk to Caitlynn to change the variable in automated testing as well.

will create a branch for dialin and make the necessary changes. Before merging will talk to Caitlynn to change the variable in automated testing as well.

Remove empty line

Remove empty line

Please sync this payload in DD firmware, Leahi-dialin and System Scripts.

Please sync this payload in DD firmware, Leahi-dialin and System Scripts.

Align the indent

Align the indent

Swap order of == for these 2 if statements - put constant on left side.

Swap order of == for these 2 if statements - put constant on left side.

Why?

Why?

Why is UF volume being added here? If we add it, we need to change DD f/w too. But it is not clear to me why DD f/w needs to know the UF volume.

Why is UF volume being added here? If we add it, we need to change DD f/w too. But it is not clear to me why DD f/w needs to know the UF volume.

Use ternary operator to explicitly set to TRUE or FALSE.

Use ternary operator to explicitly set to TRUE or FALSE.

Our TODO comments are all CAPs.

Our TODO comments are all CAPs.

I think these if statements should be looking for valve state == VALVE_STATE_IDLE, not <

I think these if statements should be looking for valve state == VALVE_STATE_IDLE, not <

Fix implementation to return a BOOL (TRUE if SW_COMPATIBILITY_REV == ddVersion.compatibilityRev.

Fix implementation to return a BOOL (TRUE if SW_COMPATIBILITY_REV == ddVersion.compatibilityRev.

Should return T/F. Change comment to "TRUE if DD f/w is compatible with TD f/w, FALSE if not.".

Should return T/F. Change comment to "TRUE if DD f/w is compatible with TD f/w, FALSE if not.".

Should return a BOOL (that is what ModeStandby is expecting).

Should return a BOOL (that is what ModeStandby is expecting).

Fix isDDCompatible() function so that it returns a T/F instead of a compatibility revision.

Fix isDDCompatible() function so that it returns a T/F instead of a compatibility revision.

Align comment.

Align comment.

Why are these added? And why commented out. H13 and H20 are not rotary valves - they are 3 way valves. They do not belong here.

Why are these added? And why commented out. H13 and H20 are not rotary valves - they are 3 way valves. They do not belong here.

Do we need this?

Do we need this?

Change this to work for any state (passed as parameter).

Change this to work for any state (passed as parameter).

Remove

Remove

Alphabetize these includes.

Alphabetize these includes.

Why is this commented out?

Why is this commented out?

Don't need yet.

Don't need yet.

Remove all cleaning related functions.

Remove all cleaning related functions.

Don't need this yet.

Don't need this yet.

Remove for now.

Remove for now.

Missing a comment.

Missing a comment.

Remove last 5 messages.

Remove last 5 messages.

Remove these. These are Denali modes.

Remove these. These are Denali modes.

Remove these for now.

Remove these for now.