diff --git a/README.md b/README.md
index 79256cd..d647a90 100644
--- a/README.md
+++ b/README.md
@@ -13,7 +13,7 @@ It has been written to complement grblHAL and has features such as proper keyboa
---
-Latest build date is 20240527, see the [changelog](changelog.md) for details.
+Latest build date is 20240602, see the [changelog](changelog.md) for details.
__NOTE:__ Build 20240222 has moved the probe input to the ioPorts pool of inputs and will be allocated from it when configured.
The change is major and _potentially dangerous_, it may damage your probe, so please _verify correct operation_ after installing this, or later, builds.
diff --git a/changelog.md b/changelog.md
index 797f502..9d68bae 100644
--- a/changelog.md
+++ b/changelog.md
@@ -1,5 +1,19 @@
## grblHAL changelog
+Build 20240602
+
+Core:
+
+* Fixed typo/bug in expression precedence handling. Ref. [issue #527](https://github.com/grblHAL/core/issues/527).
+
+Drivers:
+
+* STM32F4xx, STM32F7xx: added cast to suppress compiler warning.
+
+* STM32F7xx: added DMA support for SPI4, fix for SPI SCK pin reporting. WizNet code still not working.
+
+---
+
Build 20240527
Core:
diff --git a/grbl.h b/grbl.h
index b75fbb0..d448461 100644
--- a/grbl.h
+++ b/grbl.h
@@ -42,7 +42,7 @@
#else
#define GRBL_VERSION "1.1f"
#endif
-#define GRBL_BUILD 20240527
+#define GRBL_BUILD 20240602
#define GRBL_URL "https://github.com/grblHAL"
diff --git a/ngc_expr.c b/ngc_expr.c
index aa2879f..3f0a991 100644
--- a/ngc_expr.c
+++ b/ngc_expr.c
@@ -791,7 +791,7 @@ status_code_t ngc_eval_expression (char *line, uint_fast8_t *pos, float *value)
return status;
operators[stack_index - 1] = operators[stack_index];
- if((stack_index > 1) && precedence(operators[stack_index - 1] <= precedence(operators[stack_index - 2])))
+ if(stack_index > 1 && precedence(operators[stack_index - 1]) <= precedence(operators[stack_index - 2]))
stack_index--;
else
break;