aboutsummaryrefslogtreecommitdiffstats
path: root/klippy/chelper/__init__.py
diff options
context:
space:
mode:
authorKevin O'Connor <kevin@koconnor.net>2021-07-23 12:46:14 -0400
committerKevin O'Connor <kevin@koconnor.net>2021-07-29 16:35:30 -0400
commit07f0ecb4d059f653322db54064b36c9fc79bbb95 (patch)
treef3e3771e1713821a017a9d805831a70fb4fb6360 /klippy/chelper/__init__.py
parent45c232b2c724136aa9ef54b2858712640baacb3d (diff)
downloadkutter-07f0ecb4d059f653322db54064b36c9fc79bbb95.tar.gz
kutter-07f0ecb4d059f653322db54064b36c9fc79bbb95.tar.xz
kutter-07f0ecb4d059f653322db54064b36c9fc79bbb95.zip
trapq: Store toolhead.set_position() updates in trapq history
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'klippy/chelper/__init__.py')
-rw-r--r--klippy/chelper/__init__.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/klippy/chelper/__init__.py b/klippy/chelper/__init__.py
index 97493355..c2ad802a 100644
--- a/klippy/chelper/__init__.py
+++ b/klippy/chelper/__init__.py
@@ -83,6 +83,8 @@ defs_trapq = """
struct trapq *trapq_alloc(void);
void trapq_free(struct trapq *tq);
void trapq_finalize_moves(struct trapq *tq, double print_time);
+ void trapq_set_position(struct trapq *tq, double print_time
+ , double pos_x, double pos_y, double pos_z);
int trapq_extract_old(struct trapq *tq, struct pull_move *p, int max
, double start_time, double end_time);
"""