diff --git a/Gpios.c b/Gpios.c index 44ce2b0..14092fe 100644 --- a/Gpios.c +++ b/Gpios.c @@ -161,4 +161,5 @@ float VN7008AJ_ReadCurrent(uint16_t adc_value) { env->EmergencyAirCleanSwitch = vInitGpioPinPull(GPIO_B, PORT_PIN_0, GPIO_IN, GPIO_PIN_NOREVERSE, GPIO_LOW, GPIO_OPEN, PORT_PULL_DOWN); env->FireExtinguishSwitch = vInitGpioPinPull(GPIO_B, PORT_PIN_1, GPIO_IN, GPIO_PIN_NOREVERSE, GPIO_LOW, GPIO_OPEN, PORT_PULL_DOWN); + env->Ign_Wakeup = vInitGpioPinPull(GPIO_E, PORT_PIN_16, GPIO_IN, GPIO_PIN_NOREVERSE, GPIO_LOW, GPIO_OPEN, PORT_PULL_DOWN); } \ No newline at end of file diff --git a/Gpios.h b/Gpios.h index 06f2fe3..447f523 100644 --- a/Gpios.h +++ b/Gpios.h @@ -112,6 +112,7 @@ typedef struct { tPower power; tGpioPin EmergencyAirCleanSwitch; tGpioPin FireExtinguishSwitch; + tGpioPin Ign_Wakeup; } tGpios; extern tGpios GPIOS;