Skip to content

Commit

Permalink
Improved handling of critical events for adding |$C=1 to full realtim…
Browse files Browse the repository at this point in the history
…e report.
  • Loading branch information
terjeio committed Jul 11, 2023
1 parent 403a172 commit 8f5fa90
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 1 deletion.
16 changes: 16 additions & 0 deletions changelog.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,21 @@
## grblHAL changelog

<a name="20230711"/>20230711

Core:

* Improved handling of critical events for adding `|$C=1` to full realtime report.

Drivers:

* STM32F1xx: fix for [ioSender issue #312](https://github.com/terjeio/ioSender/issues/312), EStop event not triggered.

Plugins:

* Networking: fix for YModem upload to SD card failure via Telnet or WebSocket connection.

---

<a name="20230708"/>20230708

Drivers:
Expand Down
2 changes: 1 addition & 1 deletion grbl.h
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
#else
#define GRBL_VERSION "1.1f"
#endif
#define GRBL_BUILD 20230704
#define GRBL_BUILD 20230711

#define GRBL_URL "https://github.com/grblHAL"

Expand Down
4 changes: 4 additions & 0 deletions system.c
Original file line number Diff line number Diff line change
Expand Up @@ -1039,6 +1039,10 @@ void system_raise_alarm (alarm_code_t alarm)
system_set_exec_alarm(alarm);
else if(sys.alarm != alarm) {
sys.alarm = alarm;
sys.blocking_event = sys.alarm == Alarm_HardLimit ||
sys.alarm == Alarm_SoftLimit ||
sys.alarm == Alarm_EStop ||
sys.alarm == Alarm_MotorFault;
state_set(alarm == Alarm_EStop ? STATE_ESTOP : STATE_ALARM);
if(sys.driver_started || sys.alarm == Alarm_SelftestFailed)
grbl.report.alarm_message(alarm);
Expand Down

0 comments on commit 8f5fa90

Please sign in to comment.