MAJOR REFACTOR
This commit was done with an inescrupulous "git add ." after several radical modifications. Anyway, the API was radically modified and basically the old way the code worked does not make any sense anymore. The desired architecture is the following: the API is going to be used as a class component. Each parameter will be created according to the desired number of enabled hybrids. Each parameter should use one simple API function. No information about the VMM or hybrids itself is stored in the VMMTbl class unless extremely needed. This commit leaves a few old parameters that should be removed in the future such as ADC_VALUE_VMM1, READ_ADC_VMMS, etc. This is only to serve as a reminder to add those later.
Showing
- vmmTbl.Makefile 1 addition, 0 deletionsvmmTbl.Makefile
- vmmTblApp/Db/channels.template 10 additions, 0 deletionsvmmTblApp/Db/channels.template
- vmmTblApp/Db/hybrid.template 151 additions, 1 deletionvmmTblApp/Db/hybrid.template
- vmmTblApp/Db/vmm_tbl.template 8 additions, 0 deletionsvmmTblApp/Db/vmm_tbl.template
- vmmTblApp/src/Utils.cpp 63 additions, 0 deletionsvmmTblApp/src/Utils.cpp
- vmmTblApp/src/Utils.h 10 additions, 0 deletionsvmmTblApp/src/Utils.h
- vmmTblApp/src/vmm_tbl.cpp 292 additions, 130 deletionsvmmTblApp/src/vmm_tbl.cpp
- vmmTblApp/src/vmm_tbl.h 39 additions, 23 deletionsvmmTblApp/src/vmm_tbl.h
Loading
Please register or sign in to comment