🎨 Apply F() to G-code suite and queue

This commit is contained in:
Scott Lahteine
2021-09-25 21:11:31 -05:00
committed by Scott Lahteine
parent 64a919da2a
commit 417e2530eb
39 changed files with 136 additions and 134 deletions

View File

@@ -57,7 +57,7 @@ static void event_handler(lv_obj_t *obj, lv_event_t event) {
if (event != LV_EVENT_RELEASED) return;
if (obj->mks_obj_id == ID_S_CONTINUE) return;
if (obj->mks_obj_id == ID_S_MOTOR_OFF) {
TERN(HAS_SUICIDE, suicide(), queue.enqueue_now_P(PSTR("M84")));
TERN(HAS_SUICIDE, suicide(), queue.enqueue_now(F("M84")));
return;
}
lv_clear_set();