summaryrefslogtreecommitdiff
path: root/gerbonara/gerber/graphic_objects.py
diff options
context:
space:
mode:
Diffstat (limited to 'gerbonara/gerber/graphic_objects.py')
-rw-r--r--gerbonara/gerber/graphic_objects.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/gerbonara/gerber/graphic_objects.py b/gerbonara/gerber/graphic_objects.py
index c626ba3..b42a01c 100644
--- a/gerbonara/gerber/graphic_objects.py
+++ b/gerbonara/gerber/graphic_objects.py
@@ -90,8 +90,8 @@ class Flash(GerberObject):
yield from ctx.select_tool(self.tool)
yield from ctx.drill_mode()
- x = ctx.settings.write_gerber_value(self.x, self.unit)
- y = ctx.settings.write_gerber_value(self.y, self.unit)
+ x = ctx.settings.write_excellon_value(self.x, self.unit)
+ y = ctx.settings.write_excellon_value(self.y, self.unit)
yield f'X{x}Y{y}'
ctx.set_current_point(self.unit, self.x, self.y)