mirror of https://github.com/Desuuuu/klipper.git
basecmd: Change "move queue empty" error to "move queue overflow"
Use a more clear error message. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
parent
086f0fafde
commit
3b9412513e
|
@ -91,7 +91,7 @@ move_alloc(void)
|
||||||
irqstatus_t flag = irq_save();
|
irqstatus_t flag = irq_save();
|
||||||
struct move_freed *mf = move_free_list;
|
struct move_freed *mf = move_free_list;
|
||||||
if (!mf)
|
if (!mf)
|
||||||
shutdown("Move queue empty");
|
shutdown("Move queue overflow");
|
||||||
move_free_list = mf->next;
|
move_free_list = mf->next;
|
||||||
irq_restore(flag);
|
irq_restore(flag);
|
||||||
return mf;
|
return mf;
|
||||||
|
|
Loading…
Reference in New Issue