From 74d9f5e31428ef362033a63c10b781d943c5e5a5 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Fri, 13 May 2016 13:19:31 +0200 Subject: many: remove unneeded implicit type conversion double <-> float --- proto-fsuipc/ftnoir_protocol_fsuipc.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'proto-fsuipc') diff --git a/proto-fsuipc/ftnoir_protocol_fsuipc.cpp b/proto-fsuipc/ftnoir_protocol_fsuipc.cpp index 702a92d4..91a61693 100644 --- a/proto-fsuipc/ftnoir_protocol_fsuipc.cpp +++ b/proto-fsuipc/ftnoir_protocol_fsuipc.cpp @@ -28,8 +28,7 @@ FTNoIR_Protocol::~FTNoIR_Protocol() } int FTNoIR_Protocol::scale2AnalogLimits( float x, float min_x, float max_x ) { -double y; -double local_x; + float y, local_x; local_x = x; if (local_x > max_x) { -- cgit v1.2.3