Updated menu. Can now preview presets and preset number is shown when selected and when repair is in process
Fixed negative value handling in DAConverter and ADConverter git-svn-id: https://svn.vbchaos.nl/svn/hsb/trunk@267 05563f52-14a8-4384-a975-3d1654cca0fa
This commit is contained in:
@@ -50,6 +50,8 @@
|
||||
#define HSB_MAINREPR_OOL_DURATION (20)
|
||||
#define HSB_MAINREPR_OOL_VALUE (300)
|
||||
|
||||
#define HSB_SECURITY_VOLTAGE_THRESHOLD (100)
|
||||
|
||||
#define HSB_ADC_ANODE_MIN_VOLTAGE (0)
|
||||
#define HSB_ADC_ANODE_MAX_VOLTAGE (10042)
|
||||
#define HSB_ADC_CMCP_MIN_VOLTAGE (0)
|
||||
@@ -58,7 +60,7 @@
|
||||
#define HSB_ADC_TESLA_MAX_VOLTAGE (6070)
|
||||
|
||||
#define HSB_DAC_ANODE_MIN_VOLTAGE (0)
|
||||
#define HSB_DAC_ANODE_MAX_VOLTAGE (10200)
|
||||
#define HSB_DAC_ANODE_MAX_VOLTAGE (10100)
|
||||
#define HSB_DAC_CMCP_MIN_VOLTAGE (0)
|
||||
#define HSB_DAC_CMCP_MAX_VOLTAGE (-2200)
|
||||
#define HSB_DAC_TESLA_MIN_VOLTAGE (0)
|
||||
|
||||
@@ -68,6 +68,7 @@ typedef enum
|
||||
ADMINMENU,
|
||||
CALIBRATIONMENU,
|
||||
PRESETMENU,
|
||||
RM_PRESET_PRINT,
|
||||
START_REPAIR,
|
||||
REPAIR_RUNNING,
|
||||
REPAIR_ASK_PAUSE,
|
||||
|
||||
@@ -51,6 +51,7 @@ struct RepairPresetParameters
|
||||
|
||||
struct RepairPreset
|
||||
{
|
||||
int presetNumber;
|
||||
int numberOfStages;
|
||||
struct RepairPresetParameters preset[REPAIR_PRESET_MAX_STAGES];
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user