Added _probe2_state system parameter, returns -1 if probe 2 is not available, 1 if triggered and 0 if not.

Fix for hang when G65 sub call level is > 2.
Fix for crash when selecting a tool (with the T command) outside the tool table range.
This commit is contained in:
Terje Io
2025-10-18 20:28:02 +02:00
parent 106f5fd573
commit ed2a392dd7
9 changed files with 58 additions and 27 deletions

View File

@@ -726,16 +726,4 @@
#define FS_ENABLE 0
#endif
#ifndef SDCARD_SDIO
#define SDCARD_SDIO 0
#endif
#ifndef SPI_ENABLE
#if (SDCARD_ENABLE && !SDCARD_SDIO) || TRINAMIC_SPI_ENABLE
#define SPI_ENABLE 1
#else
#define SPI_ENABLE 0
#endif
#endif
/*EOF*/