Alfredo Monclus 55af0d753c
bed_level: improve screw detection (#908)
* Use max_distance for fitting screws to buttons

The max distance is at most 1/3 of the diagonal,
depending on how many screws are there in horizontal or
vertical orientation.

This is a safe guard to prevent assigning screws to buttons
that would confuse the users, for very skewed screw configs.

use a smaller button scale fixes #891

Co-authored-by: alfrix <alfredomonclus@gmail.com>

Co-authored-by: czaky <jendrzej.w@lczak.net>
2023-03-01 07:41:43 -06:00
..
2022-12-03 15:46:26 -03:00
2022-12-11 09:17:18 -03:00
2022-12-11 09:17:18 -03:00
2022-11-30 11:00:10 -03:00
2022-12-11 09:17:18 -03:00
2022-11-28 00:15:28 -03:00
2023-02-20 07:57:45 -06:00
2022-12-11 09:17:18 -03:00
2022-11-28 00:15:28 -03:00
2022-12-11 09:17:18 -03:00
2022-11-28 00:15:28 -03:00
2022-12-03 20:43:25 -03:00