dgfirmware

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
DEN-7802: Added dialysate 1 liter avg conductivity check

So this function looks a lot like the transition function in standby mode. So maybe standby mode could have a public function that resets all of the actuators and then the transition function in st...

So this function looks a lot like the transition function in standby mode. So maybe standby mode could have a public function that resets all of the actuators and then the transition function in standby mode could call that function (and your modes could also call that function instead of this one).

I think "full" should be changed to target volume reached. Review function header descriptions for any updates needed.

I think "full" should be changed to target volume reached. Review function header descriptions for any updates needed.

Yes, the exact same function is used in heat disinfect and one will be used in chemical disinfect. Where do you suggest we should put them?

Yes, the exact same function is used in heat disinfect and one will be used in chemical disinfect. Where do you suggest we should put them?

Recommend making this variable name a little more descripting. Something like alarmDetectedPendingTrigger.

Recommend making this variable name a little more descripting. Something like alarmDetectedPendingTrigger.

This function has no inputs. It only sets variables. It never references any.

This function has no inputs. It only sets variables. It never references any.

Not necessary. Standby mode is going to set actuators on entry 50ms from here so why bother.

Not necessary. Standby mode is going to set actuators on entry 50ms from here so why bother.

Is this function something we can have just once somewhere? I feel like this same function is going to be in both disinfect modes and this flush mode.

Is this function something we can have just once somewhere? I feel like this same function is going to be in both disinfect modes and this flush mode.

I think this is actually a time stamp for when flush mode began - and you are using it to calculate total flush mode elapsed time. I would add the word "Start" to the end of the variable name and c...

I think this is actually a time stamp for when flush mode began - and you are using it to calculate total flush mode elapsed time. I would add the word "Start" to the end of the variable name and clarify the comment.
stateTimer below is likely also a starting time - so same comment.

Didn't these RO pump control changes happen a long time ago? Why are they showing up here as new changes?

Didn't these RO pump control changes happen a long time ago? Why are they showing up here as new changes?

Why did this change so much? This is for the initial PWM estimate, right?

Why did this change so much? This is for the initial PWM estimate, right?

When do you think we will have something for this? I thought I heard Blaine say he thought we could get RPM conversion close enough to re-implement check.

When do you think we will have something for this? I thought I heard Blaine say he thought we could get RPM conversion close enough to re-implement check.

Still too many () now. You can still have 2 Hz default publish time if you want - I just didn't like the arrangement. Should be more like ( 500 / TASK_PRIORITY_INTERVAL ) so it is clear that you wa...

Still too many () now. You can still have 2 Hz default publish time if you want - I just didn't like the arrangement. Should be more like ( 500 / TASK_PRIORITY_INTERVAL ) so it is clear that you want every 500 ms.

Done.

Done.

DEN-5963 addressed code review comments

    • -3
    • +5
    /firmware/App/Modes/ModeHeatDisinfect.c
    • -15
    • +0
    /firmware/App/Services/Reservoirs.c
Done.

Done.

Done.

Done.

Each condition should be put in a parenthesis ().

Each condition should be put in a parenthesis ().

DEN-5963 addressed code review comments

    • -102
    • +104
    /firmware/App/Modes/ModeHeatDisinfect.c
    • -1
    • +1
    /firmware/App/Modes/ModeHeatDisinfect.h
Done.

Done.

This is just to check that everything above minimum we are about to start the heat disifnect mode. I added the max limit too.

This is just to check that everything above minimum we are about to start the heat disifnect mode. I added the max limit too.

I removed 2. If faster publish time is needed, it should be overridden via Dialin.

I removed 2. If faster publish time is needed, it should be overridden via Dialin.

Done.

Done.

Done.

Done.

This section has been uncommented.

This section has been uncommented.

Done.

Done.

I changed the functions.

I changed the functions.

Done.

Done.

This enum has been deleted.

This enum has been deleted.

This enum has been deleted.

This enum has been deleted.