Support different DcctDrv firmware running on ANUB and MIDCCT
The firmware running on MIDCCT is newer and breaks compatibility with the older firmware running on ANUB. Come up with a design that allows us to support both.
#1 Updated by John Diamond over 4 years ago
- % Done changed from 0 to 90
Made DcctDrv an abstract base class with 2 pure virtual methods. Created DcctDrv10 to support the older DCCT firmware running in ANUB and DcctDrv21 to support the new DCCT firmware in MIDCCT. All shared code resides in DcctDrv except for a few lines that are unique to the 2.1 firmware in MIDCCT.
Tested on ANUB but not on MIDCCT yet.
Pushed to mirrdcct_master.