•  

Comment Results

Review Name Created Custom Fields Content
LEAHI-TD-FIRMWARE-LDT-4072-2 15 May 2026

Move definitions to top (above functions).

LEAHI-TD-FIRMWARE-LDT-4072-2 15 May 2026

Remove repeating entries.

LEAHI-TD-FIRMWARE-LDT-4072-2 15 May 2026

initialize all of these in init function.

LEAHI-TD-FIRMWARE-LDT-4033-1 20 May 2026

Not really, I can change this to private

LEAHI-TD-FIRMWARE-LDT-4033-1 21 May 2026

Removed

LEAHI-TD-FIRMWARE-LDT-1886-2 20 May 2026

We can rename priorState to previousInstallState.
Also, it should be declared as a static variable to be able to retain previousState value when the control goes out of the function.

LEAHI-TD-FIRMWARE-LDT-3505-1 19 May 2026

So we are going to fail this test until calibration record is ready?

LEAHI-TD-FIRMWARE-LDT-4033-1 21 May 2026

That looks like an fpga function, not an input.

LEAHI-DD-FIRMWARE-LDT-3963-1 21 May 2026

Not sure why Crucible is showing it this way. Let's just re-review these diffs.

LEAHI-TD-FIRMWARE-LDT-4033-1 21 May 2026

We need to call this function from ModeTreatment exec function.

LEAHI-TD-FIRMWARE-LDT-4033-1 21 May 2026

We need to call the driver exec function from this exec function - either before or after the switch statement.

LEAHI-TD-FIRMWARE-LDT-4033-1 21 May 2026

Move this function down a bit. Init function should be first.

LEAHI-DD-FIRMWARE-LDT-3272-1 27 May 2026

This file has been updated by HALCoGen automatically.

LEAHI-TD-FIRMWARE-LDT-4033-1 22 May 2026

You’re right. I should also check the busy status before transitioning to the GET_DATA state. I’ll update the measurement completion logic to first verify the busy bit is cleared, then validate the BP data response code before moving to BP_DRIVER_GET_DATA_STATE.

LEAHI-TD-FIRMWARE-LDT-4033-1 21 May 2026

This is not an atomic assignment, so we have to consider thread safety.
If this driver is running from General Task (I believe it is since ModeTreatment's exec will be calling the BPModule's exec which calls this driver's exec) and if the caller to this function will also be running from General Task (I believe it is since BPModule controller is the caller), then there is no thread safety issue and we should mention in the function header brief that this function should only be called from within the General Task.
If another task is involved (e.g. Priority Task is calling this function), this function could be interrupting the get data state while it is populating bpResults with new results and the caller would get a mix of old and new results (we would not want that).

LEAHI-TD-FIRMWARE-LDT-3970-1 26 May 2026

Please update the msg id to MSG_ID_TD_TREATMENT_SET_POINT_DIALYSATE_TEMP_CHANGE_RESPONSE

LEAHI-TD-FIRMWARE-LDT-3259-1 27 May 2026

Non-Dialin messages should be higher in this list than Dialin messages. Move this above all of the "test" handlers.

LEAHI-TD-FIRMWARE-LDT-3259-1 27 May 2026

These should come before PC channels (higher priority).

LEAHI-TD-FIRMWARE-LDT-3970-1 27 May 2026

Add a doxygen comment for this definition.

LEAHI-TD-FIRMWARE-LDT-3970-1 27 May 2026

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

LEAHI-TD-FIRMWARE-LDT-3970-1 26 May 2026

TREAT_PARAMS_PROPERTIES should also be an input?

LEAHI-TD-FIRMWARE-LDT-3970-1 12 May 2026

Please rename this function to initTreatmentParameters

LEAHI-TD-FIRMWARE-LDT-3970-1 14 May 2026

The Id name looks too long? What if we change Temperature to Temp?

LEAHI-DD-FIRMWARE-LDT-3272-1 27 May 2026

Same

LEAHI-TD-FIRMWARE-LDT-3259-1 27 May 2026

Should this be commented out before merge?

LEAHI-TD-FIRMWARE-LDT-3970-1 26 May 2026

Can we rename this to TREATMENT_DURATION_VALIDATE_REQUEST_PAYLOAD_T?

HD-DENBUG-335-1 29 May 2026

Remove extra blank line

LEAHI-DD-FIRMWARE-LDT-4001-1 01 Jun 2026

fixed

LEAHI-TD-FIRMWARE-LDT-4009-1 29 May 2026

Align all or none of the =

LEAHI-TD-FIRMWARE-LDT-3970-1 12 May 2026

Can we please align (move more towards right) the comments of this newly added section with the comments of existing sections?

LEAHI-TESTSUITES-LDT-1650-1 26 Nov 2025

Now I am getting AUT path using aut_path = currentApplicationContext().cwd in test script

LEAHI-DD-FIRMWARE-LDT-2030-2 26 Nov 2025

Removed. Thank you.

LEAHI-DD-FIRMWARE-LDT-2030-2 25 Nov 2025

Keep 2 blank lines above/below test banner.

LEAHI-DD-FIRMWARE-LDT-2004-3 21 Nov 2025

Align comments.

LEAHI-TD-FIRMWARE-LDT-3505-1 20 May 2026

The function getSoftwareConfigStatus() is also part of NVM module.
Moreover, we are planning to remove this function when NVM will be implemented.
So, we will have to perform a cleanup and remove all similar calls that have been currently commented out in other files as well like AirTrap.c, BloodFlow.c, etc.

LEAHI-TD-FIRMWARE-LDT-3970-1 26 May 2026

Please break it into two lines

LEAHI-TD-FIRMWARE-LDT-4072-2 15 May 2026

Add blank line after banner

LEAHI-TD-FIRMWARE-LDT-1886-2 19 May 2026

This merge conflict is still unresolved.

LEAHI-APPLICATION-LDT-4193-1 20 May 2026

updated

LEAHI-TD-FIRMWARE-LDT-4009-1 01 Jun 2026

Keep local result and set to TRUE or FALSE with a ternary.

LEAHI-TD-FIRMWARE-LDT-4072-2 15 May 2026

Move all but I2CBatteryStatus override functions to the battery monitor.

LEAHI-TD-FIRMWARE-LDT-4072-2 15 May 2026

Call the init for the battery driver here.

LEAHI-TD-FIRMWARE-LDT-4033-1 17 May 2026

Did Noe delete the H12 period register?
According to this structure, syrPumpDACControl is 2 bytes (U16), so next register should be 42 (40+2). So why do you have 41? Something is out of sync with HDD here. Please align with the HDD.

LEAHI-TD-FIRMWARE-LDT-3970-1 26 May 2026

Please break it into two lines

LEAHI-TD-FIRMWARE-LDT-3505-1 20 May 2026

Let's hard code for time being with a TODO comment. I don't want alarm to be a problem.

LEAHI-TD-FIRMWARE-LDT-3505-1 20 May 2026

align indentation, same for line 338 as well.

LEAHI-TD-FIRMWARE-LDT-4033-1 20 May 2026

Change comment to "Number of BP driver states."

LEAHI-TD-FIRMWARE-LDT-4033-1 20 May 2026

Same.

LEAHI-TD-FIRMWARE-LDT-4033-1 21 May 2026

I think these will eventually be coming from institutional settings, so maybe put a TODO comment to remove these when institutional settings are available.

LEAHI-TD-FIRMWARE-LDT-4033-1 22 May 2026

What do we do if BP module reports an error? Do we just go to idle state and there is no alarm?