This commit is contained in:
Scott Lahteine 2017-12-08 18:18:06 -06:00
parent 4aba382b01
commit b4d69527e6

View File

@ -123,8 +123,8 @@
for (uint8_t s = 0; s < strokes; s++) for (uint8_t s = 0; s < strokes; s++)
for (uint8_t i = 0; i < NOZZLE_CLEAN_CIRCLE_FN; i++) for (uint8_t i = 0; i < NOZZLE_CLEAN_CIRCLE_FN; i++)
do_blocking_move_to_xy( do_blocking_move_to_xy(
middle.x + sin((2.0 * M_PI / NOZZLE_CLEAN_CIRCLE_FN) * i) * radius, middle.x + sin((RADIANS(360) / NOZZLE_CLEAN_CIRCLE_FN) * i) * radius,
middle.y + cos((2.0 * M_PI / NOZZLE_CLEAN_CIRCLE_FN) * i) * radius middle.y + cos((RADIANS(360) / NOZZLE_CLEAN_CIRCLE_FN) * i) * radius
); );
// Let's be safe // Let's be safe