CC mode use GAIN_AUTO
This commit is contained in:
+1
-1
@@ -6,7 +6,7 @@
|
||||
#define VERSION_DATE_MONTH 6
|
||||
#define VERSION_DATE_DAY 23
|
||||
#define VERSION_DATE_HOUR 11
|
||||
#define VERSION_DATE_MINUTE 5
|
||||
#define VERSION_DATE_MINUTE 56
|
||||
|
||||
// this is NOT the version hash !!
|
||||
// it's the last version hash
|
||||
|
||||
-8
@@ -972,10 +972,6 @@ static void update_ZM_instruction(uint8 *ins) {
|
||||
INSTRUCTION.NotifyRate = 500;
|
||||
INSTRUCTION.VoVi_Switch = 0x01;
|
||||
|
||||
INSTRUCTION.ADCGainLevel = GAIN_200R;
|
||||
if(INSTRUCTION.ADCGainLevel != GAIN_AUTO){
|
||||
INSTRUCTION.AutoGainEnable = 0;
|
||||
}
|
||||
|
||||
/*******************************************************
|
||||
controller instruction
|
||||
@@ -1343,10 +1339,6 @@ static void update_ZM_instruction(uint8 *ins) {
|
||||
INSTRUCTION.NotifyRate = 500;
|
||||
INSTRUCTION.VoVi_Switch = 0x02;//read Vscan = Vout - Vin
|
||||
|
||||
INSTRUCTION.ADCGainLevel = GAIN_200R;
|
||||
if(INSTRUCTION.ADCGainLevel != GAIN_AUTO){
|
||||
INSTRUCTION.AutoGainEnable = 0;
|
||||
}
|
||||
// uint8 *ins;
|
||||
// ins[0] = 0xC0;
|
||||
// ins[1] = 0xC0;
|
||||
|
||||
Reference in New Issue
Block a user