diff --git a/changelog.md b/changelog.md index f82b244..c7ac332 100644 --- a/changelog.md +++ b/changelog.md @@ -1,6 +1,18 @@ ## grblHAL changelog -Build 20260525 +20260528 + +Core: + +* Minor change to shut up some compilers incorrectly warning about a potentially uninitialized variable. Ref. issue [#959](https://github.com/grblHAL/core/issues/959). + +Plugins: + +* EEPROM: increased the write delay somewhat to avoid hangs. Ref. issue [#2](https://github.com/grblHAL/Plugin_EEPROM/issues/2). + +--- + +Build 20260525 Core: diff --git a/gcode.c b/gcode.c index 6a9196f..bda6249 100644 --- a/gcode.c +++ b/gcode.c @@ -4536,7 +4536,7 @@ status_code_t gc_execute_block (char *block) { // NOTE: gc_block.values.xyz is returned from mc_probe_cycle with the updated position value. So // upon a successful probing cycle, the machine position and the returned value should be the same. - probe_id_t probe_id; + probe_id_t probe_id = Probe_Default; // initialized to shut up compiler warning plan_data.condition.no_feed_override = !settings.probe.allow_feed_override; if(gc_block.select_probe){ if((gc_block.select_probe = (probe_id_t)gc_block.values.p != (probe_id = hal.probe.get_state().probe_id))) {