Skip to content

Commit

Permalink
allow 1 LED gaps to be filled (#39)
Browse files Browse the repository at this point in the history
  • Loading branch information
Robotmad authored Dec 6, 2024
1 parent c0250c0 commit 9ff8a23
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion marimapper/led.py
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ def fill_gaps(leds: list[LED3D], max_distance: float = 1.1, max_missing=5):

gap = get_gap(led, next_led) - 1

if 1.0 < gap <= max_missing:
if 1 <= gap <= max_missing:

distance = get_distance(led, next_led)

Expand Down

0 comments on commit 9ff8a23

Please sign in to comment.