mirror of
https://github.com/grblHAL/core.git
synced 2026-08-17 08:31:43 +08:00
Minor change to shut up some compilers incorrectly warning about a potentially uninitialized variable. Ref. issue #959.
This commit is contained in:
+13
-1
@@ -1,6 +1,18 @@
|
||||
## grblHAL changelog
|
||||
|
||||
<a name="20260518">Build 20260525
|
||||
<a name="20260528">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).
|
||||
|
||||
---
|
||||
|
||||
<a name="20260525">Build 20260525
|
||||
|
||||
Core:
|
||||
|
||||
|
||||
@@ -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))) {
|
||||
|
||||
Reference in New Issue
Block a user