6994 turn on bug?
This commit is contained in:
+1
-1
@@ -253,7 +253,7 @@ static void VT_Plot() {
|
||||
//
|
||||
}
|
||||
static void IT_Plot() {
|
||||
PIN_setOutputValue(pin_handle, shutdown_6994, 0); // OFF = 1 => turn off 6994
|
||||
|
||||
}
|
||||
|
||||
static void ramp_test(){
|
||||
|
||||
+6
@@ -555,6 +555,7 @@ static void SimpleBLEPeripheral_taskFxn(UArg a0, UArg a1) {
|
||||
|
||||
uint8_t key = 0;
|
||||
bool EliteOn = 0;
|
||||
bool Wake6994 = true;
|
||||
|
||||
// PIN_setOutputValue(pin_handle, shutdown_6994, 0); // OFF = 1 => turn off 6994
|
||||
|
||||
@@ -615,6 +616,11 @@ static void SimpleBLEPeripheral_taskFxn(UArg a0, UArg a1) {
|
||||
Util_startClock(&periodicClock);
|
||||
key = PIN_getInputValue(switch_on);
|
||||
if(EliteOn){
|
||||
if(Wake6994){
|
||||
CPUdelay(160000);
|
||||
Wake6994 = false;
|
||||
PIN_setOutputValue(pin_handle, shutdown_6994, 0); // OFF = 1 => turn off 6994
|
||||
}
|
||||
EliteKeyPress(key);
|
||||
}
|
||||
else{
|
||||
|
||||
Reference in New Issue
Block a user