static class member variable can not be initialized in header. Please take a look at the applicationcontroller.cpp@21. It has been initialized with nullptr.
Note : To see the whole file content on the top right click on the "View" menu and select "Full Context"
There will be several states between these where some sensors/ADCs will be configured before we get to the next. Waiting for FPGA/hardware to implement. I'll add a comment for now.
These s/w faults will be all over the place. For logging purposes, I wanted to be able to determine which specific s/w fault was triggered and why. So I'm triggering the fault with 2 alarm data elements. First is a unique s/w fault # so I can go find it in the code. The Second is the value that caused the fault so I can know what the s/w saw when the fault was triggered. I'm open to suggestions on the unique # parameter. I could make (and maintain) a large enum for all of the s/w fault scenarios.