Files
matthewcroughan de106f53f2 klipper: fix cross
2026-04-21 13:20:29 +01:00

15 lines
608 B
Diff

diff --git a/klippy/chelper/__init__.py b/klippy/chelper/__init__.py
index c26196e..b00bd97 100644
--- a/chelper/__init__.py
+++ b/chelper/__init__.py
@@ -318,11 +318,6 @@ def get_ffi():
FFI_main = cffi.FFI()
for d in defs_all:
FFI_main.cdef(d)
- FFI_lib = FFI_main.dlopen(destlib)
- # Setup error logging
- pyhelper_logging_callback = FFI_main.callback("void func(const char *)",
- logging_callback)
- FFI_lib.set_python_logging_callback(pyhelper_logging_callback)
return FFI_main, FFI_lib