grblHAL / core

grblHAL core code and master Wiki
Other
304 stars 73 forks source link

Qestion about min/max values #458

Closed shaise closed 4 months ago

shaise commented 4 months ago

Hi @terjeio

I'm in a process now to adapt my sender to use your internal parameter definition report instead of a fixed one. Thanks for this great feature! I have a question though about parameter 481: autoreport. the default value is 0, (disable) but the min/max allowed values are 100 to 1000. This causes an issue in my implementation as I do not allow values lower then min, hence I can not disable autoreport unless I do a special 'if' for this parameter.

what do you suggest? How do you handle it? Thanks!

shai

terjeio commented 4 months ago

There is a flag at the end of the settings report which you can check - if 1 blank (for strings) or 0 is allowed for the setting.

[SETTING:481|1|Autoreport interval|ms|5|###0|100|1000|1|1]
                                                        ^
shaise commented 4 months ago

Ahhh! NICE!!!

Thanks!

shaise commented 4 months ago

Thanks again! Works great now. image

shaise commented 4 months ago

Closing