From 48b96bc6dc6771f1c3797f2956f7ef5e1cea28a0 Mon Sep 17 00:00:00 2001 From: rusefillc Date: Mon, 28 Mar 2022 23:54:14 -0400 Subject: [PATCH] reducing code duplication --- firmware/controllers/sensors/frequency_sensor.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/firmware/controllers/sensors/frequency_sensor.cpp b/firmware/controllers/sensors/frequency_sensor.cpp index b084977767..e1fbe1edad 100644 --- a/firmware/controllers/sensors/frequency_sensor.cpp +++ b/firmware/controllers/sensors/frequency_sensor.cpp @@ -19,7 +19,6 @@ void FrequencySensor::initIfValid(brain_pin_e pin, SensorConverter &converter) { } setFunction(converter); init(pin); - init(pin); Register(); }