mirror of
https://github.com/grblHAL/core.git
synced 2026-09-22 11:29:17 +08:00
Another fix for issue #269 - setting of piecewise spindle linearisation values not working.
Fix for incorrect reporting of SD card size.
This commit is contained in:
@@ -1,5 +1,19 @@
|
||||
## grblHAL changelog
|
||||
|
||||
<a name="20230320"/>Build 20230320
|
||||
|
||||
Core:
|
||||
|
||||
* Another fix for issue #269 - setting of piecewise spindle linearisation values not working.
|
||||
|
||||
Plugins:
|
||||
|
||||
* Spindle: Fix for [issue #18](https://github.com/grblHAL/Plugins_spindle/issues/18) - incorrect spindle RPM limits set from VFD response.
|
||||
|
||||
* Embroidery: added option to use Z limit pin as needle trigger.
|
||||
|
||||
---
|
||||
|
||||
<a name="20230317"/>Build 20230317
|
||||
|
||||
Core:
|
||||
|
||||
@@ -42,7 +42,7 @@
|
||||
#else
|
||||
#define GRBL_VERSION "1.1f"
|
||||
#endif
|
||||
#define GRBL_BUILD 20230317
|
||||
#define GRBL_BUILD 20230320
|
||||
|
||||
#define GRBL_URL "https://github.com/grblHAL"
|
||||
|
||||
|
||||
+1
-1
@@ -715,7 +715,7 @@ uint_fast16_t spindle_compute_pwm_value (spindle_pwm_t *pwm_data, float rpm, boo
|
||||
do {
|
||||
idx--;
|
||||
if(idx == 0 || rpm > pwm_data->piece[idx].rpm) {
|
||||
pwm_value = floorf(pwm_data->piece[idx].start * rpm - pwm_data->piece[idx].end);
|
||||
pwm_value = floorf((pwm_data->piece[idx].start * rpm - pwm_data->piece[idx].end) * pwm_data->pwm_gradient);
|
||||
break;
|
||||
}
|
||||
} while(idx);
|
||||
|
||||
Reference in New Issue
Block a user