6994 turn on bug?

This commit is contained in:
alan
2019-05-24 11:01:37 +08:00
parent de4f3a6d93
commit 6586df1ccf
2 changed files with 2 additions and 3 deletions
@@ -882,8 +882,7 @@ static void update_ZM_instruction(uint8 *ins) {
case RAMP_GENERATE:{
INSTRUCTION.eliteFxn = RAMP_GENERATE;
PIN_setOutputValue(pin_handle, shutdown_6994, 0); // OFF = 1 => turn off 6994
break;
}
@@ -616,7 +616,7 @@ static bool TurnOnElite(uint8_t key){
if(TurnOnCounter >= 15){
PIN_setOutputValue(pin_handle, enable_5v, 1); // enable 5V
LEDPowerON();
PIN_setOutputValue(pin_handle, shutdown_6994, 0); // OFF = 1 => turn off 6994
return true;
}
else{