kliment / 4pi-firmware

18 stars 21 forks source link

M520 (Maximum Area) command constrained to 1.0 by get_bool #6

Closed revarbat closed 11 years ago

revarbat commented 11 years ago

I cannot correctly set the size of my build area using M520. If I try to, any axis I specify gets limited to 1.0mm in length, which works poorly with software endstops.

The problem seems to be that it's using get_bool() instead of get_float().

midopple commented 11 years ago

Hi, i have fix the bug, the variables are signed int see https://github.com/kliment/4pi-firmware/commit/3d6d1bb8792232fe1befadc89e98e98ee183d5e6

revarbat commented 11 years ago

Looks like a good patch to me.