1
0
mirror of https://github.com/bdring/Grbl_Esp32.git synced 2025-09-03 11:22:38 +02:00

Wrong addition corrected. AmoutOfToolChanges counts up now.

This commit is contained in:
Jens Hauser
2020-07-27 12:09:47 +02:00
parent 5eed7ea798
commit 0f67bd382e

View File

@@ -65,7 +65,7 @@ void user_tool_change(uint8_t new_tool)
// Start of function
// AmountOfToolChanges=AmountOfToolChanges+1 each time.
AmountOfToolChanges=+1;
AmountOfToolChanges++;
sprintf(temp, "Tool change amount=%d\r\n", AmountOfToolChanges);
grbl_send(CLIENT_ALL, temp);