I think this whole function should be moved to the PeristalticPump.c driver unit. We don't want controller/monitor level units directly accessing fpga registers - the drivers should be doing that.
What I meant was that we don't care which blood prime state we're in - what we care about is that we are in treatment mode and priming blood - otherwise this message doesn't make sense and we should reject it because we're not in the right state. if ( ( MODE_TREA == getCurrentOperationMode() ) && ( TREATMENT_BLOOD_PRIME_STATE == getTreatmentState() ) )
I am still keeping M4 valve for some more time, when there is a need to operate DD stand-alone system (Without FP, but with IO system). So M4 valve and couple of pressure sensors (M1 and M3) are still active in DD system for time being.
Remove the defaultImagePath variable and put the QStringLiteral into the false case of the ternary so that if imagePath exists, then the string construction will never be executed.
Good point. I was going to inform everyone on the SW team (I've already told Tiffany).
We need to keep a correct version of this file in the repository since it includes the build and run parameters of the project (weirdly, although it is project-specific, everyone should use the same configuration and not a user-specific one).
In the past, when I had unit tests in the project, we had to keep changes in this file. Recently, in the Leahi project, I have removed them. Additionally, for the Leahi project, some build configurations have been updated.
In this branch, I have updated the file for the Leahi project, and we should no longer keep track of changes to this file.
Therefore, from now on, after this branch is merged into staging, please ignore any changes QtCreator makes to this file.