From a9bbd5ab51d0cf90d12add9f5e8e388da8efa4a2 Mon Sep 17 00:00:00 2001 From: Michael Buesch Date: Fri, 13 Sep 2024 20:41:08 +0200 Subject: fixpt: Don't inline mul --- firmware/src/fixpt.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/firmware/src/fixpt.rs b/firmware/src/fixpt.rs index b94ccb7..031ac94 100644 --- a/firmware/src/fixpt.rs +++ b/firmware/src/fixpt.rs @@ -78,6 +78,7 @@ impl core::ops::Sub for Fixpt { impl core::ops::Mul for Fixpt { type Output = Self; + #[inline(never)] fn mul(self, other: Self) -> Self { Self(((self.0 as i32 * other.0 as i32) >> Self::SHIFT) as i16) } -- cgit v1.2.3