Merge branch 'run-tests' of https://github.com/rusefi/libfirmware into run-tests

This commit is contained in:
Matthew Kennedy 2022-07-20 15:26:10 -07:00
commit 5f5d048b7e
1 changed files with 1 additions and 1 deletions

View File

@ -68,7 +68,7 @@ BinResult getBin(float value, const scaled_channel<TBin, TMult, TDiv> (&bins)[TS
return getBin(value * (float(TMult) / TDiv), *reinterpret_cast<const TBin (*)[TSize]>(&bins));
}
static float linterp(float low, float high, float frac)
static inline float linterp(float low, float high, float frac)
{
return high * frac + low * (1 - frac);
}