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>
This commit is contained in:
parent
039d3f0523
commit
c35278e217
|
@ -67,7 +67,7 @@ parse_int(char **pp)
|
||||||
}
|
}
|
||||||
|
|
||||||
// Parse an incoming command into 'args'
|
// Parse an incoming command into 'args'
|
||||||
static noinline char *
|
static char *
|
||||||
parsef(char *p, char *maxend, const struct command_parser *cp, uint32_t *args)
|
parsef(char *p, char *maxend, const struct command_parser *cp, uint32_t *args)
|
||||||
{
|
{
|
||||||
if (sched_is_shutdown() && !(READP(cp->flags) & HF_IN_SHUTDOWN)) {
|
if (sched_is_shutdown() && !(READP(cp->flags) & HF_IN_SHUTDOWN)) {
|
||||||
|
|
|
@ -21,7 +21,7 @@ struct end_stop {
|
||||||
|
|
||||||
enum { ESF_PIN_HIGH=1<<0, ESF_HOMING=1<<1, ESF_REPORT=1<<2 };
|
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)
|
stop_steppers(struct end_stop *e)
|
||||||
{
|
{
|
||||||
e->flags = ESF_REPORT;
|
e->flags = ESF_REPORT;
|
||||||
|
|
Loading…
Reference in New Issue