Просмотр исходного кода

Clean up log messages

- Simplify work coordinates reset log message
- Remove noisy real-time scheduling disabled log

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
tuanchris 1 неделя назад
Родитель
Сommit
14801f6362
2 измененных файлов с 1 добавлено и 2 удалено
  1. 1 1
      modules/connection/connection_manager.py
  2. 0 1
      modules/core/scheduling.py

+ 1 - 1
modules/connection/connection_manager.py

@@ -1337,7 +1337,7 @@ def reset_work_coordinates():
 
         # Reset machine_x to 0 since work coordinates now start at 0
         state.machine_x = 0.0
-        logger.info("Work coordinates reset complete (machine_x set to 0)")
+        logger.info("Work coordinates reset complete")
         return True
 
     except Exception as e:

+ 0 - 1
modules/core/scheduling.py

@@ -177,7 +177,6 @@ def setup_realtime_thread(tid: Optional[int] = None, priority: int = 50) -> None
     # causing commands to be merged/corrupted (e.g., "G1 G53" -> "G10G53").
     # This needs further investigation - may need to pin to a different CPU
     # or use a different scheduling policy.
-    logger.info(f"Real-time scheduling disabled (was priority {priority}) - causes serial issues on some Pi models")
     return
 
     cpu_count = get_cpu_count()