We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a04c14f commit 4803bb1Copy full SHA for 4803bb1
1 file changed
src/emc/motion/motion.c
@@ -413,6 +413,14 @@ int rtapi_app_main(void)
413
414
old_handler = rtapi_get_msg_handler();
415
rtapi_set_msg_handler(emc_message_handler);
416
+
417
+ //Warn user if no realtime is available
418
+ //This has to be done after rtapi_set_msg_handler() so
419
+ //it propagates to all GUI's that handle motion errors
420
+ if(rtapi_is_realtime() == 0) {
421
+ rtapi_print_msg(RTAPI_MSG_ERR, "MOTION: no realtime detected.\n");
422
+ }
423
424
return 0;
425
}
426
0 commit comments