mit-drl / e-vent

MIT Project: A low cost emergency ventilator controller
39 stars 31 forks source link

Enable AC for 2.0 knob setting #68

Closed abukhalaf closed 4 years ago

abukhalaf commented 4 years ago

Ensure that the AC knob setting of 2.0 is actually ON using the same condition in Display:

https://github.com/mit-drl/e-vent/blob/b1de3cd19d1eec190a23042a18fc2e8ed5efcdb9/Display.cpp#L182

Ultimately, this condition needs to be checked once and used when needed by the display or the main code flow logic by utilizing the assist control flag. Leaving the use of such a flag for a further refactoring commit.

This has been tested on the device.

abukhalaf commented 4 years ago

This has been tested on the device three weeks ago, and assist control now works for 2.0 setting as opposed to being disabled in the past.