From 529f0893a507a11fcedf07438d50c8747e9538c5 Mon Sep 17 00:00:00 2001 From: Kuba <132459354+KubaPro010@users.noreply.github.com> Date: Tue, 26 Mar 2024 14:12:42 +0100 Subject: [PATCH] still not cpp --- src/pifmrds/control_pipe.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pifmrds/control_pipe.c b/src/pifmrds/control_pipe.c index 7707932..92a0ef4 100644 --- a/src/pifmrds/control_pipe.c +++ b/src/pifmrds/control_pipe.c @@ -248,7 +248,7 @@ ResultAndArg poll_control_pipe(int log) { resarg.res = CONTROL_PIPE_COMPRESSORMAXGAINRECIP_SET; resarg.arg = arg; } else if(fifo[0] == 'L' && fifo[1] == 'I' && fifo[2] == 'M') { - if(std::stof(arg) < 4) { + if(atof(arg) < 4) { if(log==1) { printf("Set Limiter Threshold to "); printf(arg);