ModeTreatment.c

Clone Tools
  • last updated a few minutes ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Which alarm?

Which alarm?

bpPublishTimerCtr is the output?

bpPublishTimerCtr is the output?

Input is none. Add @Alarms

Input is none.
Add @Alarms

Should we list the alarm ids? @Alarms?

Should we list the alarm ids? @Alarms?

requestAbortBPReading is the output?

requestAbortBPReading is the output?

requestPedsBPReading is the output?

requestPedsBPReading is the output?

requestAdultBPReading is the output?

requestAdultBPReading is the output?

pendingVitalsRequest is the output?

pendingVitalsRequest is the output?

We should initialize in the init function?

We should initialize in the init function?

bpMeasurementReady is an output?

bpMeasurementReady is an output?

nextState is the return value. Should we add requestAdultBPMeasurement, bpMeasurementReady and bpDriverError to outputs?

nextState is the return value.
Should we add requestAdultBPMeasurement, bpMeasurementReady and bpDriverError to outputs?

Where are we updating the bpResults?

Where are we updating the bpResults?

We should initialize this in init functions.

We should initialize this in init functions.

please add a comment

please add a comment

pressure is a param?

pressure is a param?

command is a param?

command is a param?

Move to driver.

Move to driver.

Recommend command be a U08 here. Driver should have the enum and pass the enum to this function. FPGA should just take a byte.

Recommend command be a U08 here. Driver should have the enum and pass the enum to this function. FPGA should just take a byte.

Move publish call from exec to the check state handle function.

Move publish call from exec to the check state handle function.

I don't think we need this.

I don't think we need this.

Don't need a flag here. Need a flag in driver and also an isBPCuffConnected() function in driver that we can call from this controller.

Don't need a flag here. Need a flag in driver and also an isBPCuffConnected() function in driver that we can call from this controller.

Remove.

Remove.

Just use requestAdultBPReading.

Just use requestAdultBPReading.

Remove since we're only publishing when we have new measurements.

Remove since we're only publishing when we have new measurements.

Use the NEARLY_ZERO constant (instead 0f 0.01F) like the other one.

Use the NEARLY_ZERO constant (instead 0f 0.01F) like the other one.

Add a doxygen comment above this array.

Add a doxygen comment above this array.

Add a doxygen comment above this array (similar to structures).

Add a doxygen comment above this array (similar to structures).

Add a doxygen comment above structure for the whole structure (see structure above for example).

Add a doxygen comment above structure for the whole structure (see structure above for example).

Add a doxygen comment for this definition.

Add a doxygen comment for this definition.

remove camel case for SetPoint, instead use Setpoint Update line 659 too

remove camel case for SetPoint, instead use Setpoint
Update line 659 too