1
0
mirror of https://github.com/bdring/Grbl_Esp32.git synced 2025-08-22 06:03:20 +02:00

Fix crash due to large axis values

This commit is contained in:
bdring
2020-06-30 21:57:21 -05:00
parent 04c75e4e22
commit fc6926d6e8
2 changed files with 2 additions and 2 deletions

View File

@@ -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>

View File

@@ -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))