From ea4c10a0938bf21cfccf37b6bb57bef9f25b1ac6 Mon Sep 17 00:00:00 2001 From: "Jasper v. Blanckenburg" Date: Sun, 12 Mar 2023 21:10:51 +0100 Subject: [PATCH] Remove unused variable --- Core/Src/ts_state_machine.c | 1 - 1 file changed, 1 deletion(-) diff --git a/Core/Src/ts_state_machine.c b/Core/Src/ts_state_machine.c index d648178..d885519 100644 --- a/Core/Src/ts_state_machine.c +++ b/Core/Src/ts_state_machine.c @@ -160,7 +160,6 @@ void ts_sm_set_relay_position(Relay relay, int closed) { static int neg_closed = 0; static int pos_closed = 0; static int precharge_closed = 0; - static uint32_t last_close_timestamp = 0; GPIO_PinState state = closed ? GPIO_PIN_SET : GPIO_PIN_RESET; switch (relay) {