mirror of
https://github.com/bdring/Grbl_Esp32.git
synced 2025-08-22 14:12:59 +02:00
Fix crash due to large axis values
This commit is contained in:
@@ -22,7 +22,7 @@
|
||||
// Grbl versioning system
|
||||
|
||||
#define GRBL_VERSION "1.2a"
|
||||
#define GRBL_VERSION_BUILD "20200613"
|
||||
#define GRBL_VERSION_BUILD "20200631"
|
||||
|
||||
//#include <sdkconfig.h>
|
||||
#include <Arduino.h>
|
||||
|
@@ -148,7 +148,7 @@ void grbl_notifyf(const char* title, const char* format, ...) {
|
||||
// formats axis values into a string and returns that string in rpt
|
||||
static void report_util_axis_values(float* axis_value, char* rpt) {
|
||||
uint8_t idx;
|
||||
char axisVal[10];
|
||||
char axisVal[20];
|
||||
float unit_conv = 1.0; // unit conversion multiplier..default is mm
|
||||
rpt[0] = '\0';
|
||||
if (bit_istrue(settings.flags, BITFLAG_REPORT_INCHES))
|
||||
|
Reference in New Issue
Block a user