aboutsummaryrefslogtreecommitdiffstats
path: root/src/endstop.c
diff options
context:
space:
mode:
authorKevin O'Connor <kevin@koconnor.net>2017-05-11 11:56:11 -0400
committerKevin O'Connor <kevin@koconnor.net>2017-05-15 14:02:59 -0400
commitc35278e217fb45e1001845c33ffd1c947599b40c (patch)
tree85e1f2e1030a3bf1ce41fa2aa238e513482f8b45 /src/endstop.c
parent039d3f05239e48f0ddfae5fb14cde00d817b9ed2 (diff)
downloadkutter-c35278e217fb45e1001845c33ffd1c947599b40c.tar.gz
kutter-c35278e217fb45e1001845c33ffd1c947599b40c.tar.xz
kutter-c35278e217fb45e1001845c33ffd1c947599b40c.zip
build: Avoid using noinline in common code
It's not necessary to use noinline for parsef() and stop_steppers(). Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'src/endstop.c')
-rw-r--r--src/endstop.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/endstop.c b/src/endstop.c
index 91a278cc..7a1fb1d9 100644
--- a/src/endstop.c
+++ b/src/endstop.c
@@ -21,7 +21,7 @@ struct end_stop {
enum { ESF_PIN_HIGH=1<<0, ESF_HOMING=1<<1, ESF_REPORT=1<<2 };
-static void noinline
+static void
stop_steppers(struct end_stop *e)
{
e->flags = ESF_REPORT;