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:
Terje Io
2023-03-20 18:50:29 +01:00
parent cad1dc8476
commit 9a65a3c29e
4 changed files with 18 additions and 4 deletions
+14
View File
@@ -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:
+1 -1
View File
@@ -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
View File
@@ -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);
+2 -2
View File
@@ -92,8 +92,8 @@ typedef struct {
} vfs_dirent_t;
typedef struct {
size_t size;
size_t used;
uint64_t size;
uint64_t used;
} vfs_free_t;
typedef struct {