TinyG icon indicating copy to clipboard operation
TinyG copied to clipboard

Error in source code

Open DmitriiZorin opened this issue 4 years ago • 1 comments

https://github.com/synthetos/TinyG/blob/39df38c0e5830721fb2d16a7ae7b44816d24c4c4/firmware/tinyg/plan_exec.c#L382 Hello. I think that the line 382 in file plan_exec.c meant to be: float half_Ah_5 = A * half_h * half_h * half_h * half_h * half_h; Am i right? If not then did i misunderstood something?

DmitriiZorin avatar Apr 29 '21 13:04 DmitriiZorin

You're probably right and it looks like that bug was already fixed in G2.

https://github.com/synthetos/g2/blob/edge/g2core/plan_exec.cpp#L728

lagnat avatar Apr 29 '21 13:04 lagnat