ZT should work
This commit is contained in:
-3
@@ -10,7 +10,6 @@ static void reset() {
|
||||
SampleRate_counter = 1;
|
||||
StepTimeCounter = 1;
|
||||
avg_number = 0;
|
||||
ADCRealCurrent = 0;
|
||||
ADCRealCurrent_long = 0;
|
||||
|
||||
|
||||
@@ -51,7 +50,6 @@ static void Eliteinterrupt() {
|
||||
StepTimeCounter = 1;
|
||||
SampleRate_counter = 1;
|
||||
avg_number = 0;
|
||||
ADCRealCurrent = 0;
|
||||
ADCRealCurrent_long = 0;
|
||||
|
||||
LEDPowerON();
|
||||
@@ -91,7 +89,6 @@ static void CleanBuffer() {
|
||||
SampleRate_counter = 1;
|
||||
StepTimeCounter = 1;
|
||||
avg_number = 0;
|
||||
ADCRealCurrent = 0;
|
||||
ADCRealCurrent_long = 0;
|
||||
|
||||
for (int i = 0; i < SPI_LED_SIZE; i++) {
|
||||
|
||||
+2
-2
@@ -834,8 +834,8 @@ static void update_ZM_instruction(uint8 *ins) {
|
||||
case VOLT_OUTPUT: {
|
||||
INSTRUCTION.eliteFxn = VOLT_OUTPUT;
|
||||
INSTRUCTION.VoltConstant = ( ((uint16_t)(ins[3])) << 8) | (uint16_t)(ins[4]);
|
||||
DAC_outputV(Usercode_Correction_to_DAC(INSTRUCTION.VoltConstant));
|
||||
// DAC_outputV(INSTRUCTION.VoltConstant);
|
||||
// DAC_outputV(Usercode_Correction_to_DAC(INSTRUCTION.VoltConstant));
|
||||
DAC_outputV(INSTRUCTION.VoltConstant);
|
||||
break;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user