Remove unused variable
This commit is contained in:
parent
4f43895235
commit
ea4c10a093
|
@ -160,7 +160,6 @@ void ts_sm_set_relay_position(Relay relay, int closed) {
|
||||||
static int neg_closed = 0;
|
static int neg_closed = 0;
|
||||||
static int pos_closed = 0;
|
static int pos_closed = 0;
|
||||||
static int precharge_closed = 0;
|
static int precharge_closed = 0;
|
||||||
static uint32_t last_close_timestamp = 0;
|
|
||||||
|
|
||||||
GPIO_PinState state = closed ? GPIO_PIN_SET : GPIO_PIN_RESET;
|
GPIO_PinState state = closed ? GPIO_PIN_SET : GPIO_PIN_RESET;
|
||||||
switch (relay) {
|
switch (relay) {
|
||||||
|
|
Loading…
Reference in New Issue