Fixed regression that prevented builds with compatibiliy level set > 1.

Added [SIGNALS:xxx] element to the $I output.
This commit is contained in:
Terje Io
2023-12-29 19:33:27 +01:00
parent eb29390238
commit 57243a0fc2
12 changed files with 231 additions and 79 deletions

View File

@@ -379,9 +379,32 @@
#endif
#endif
// Optional control signals
#ifndef SAFETY_DOOR_ENABLE
#define SAFETY_DOOR_ENABLE 0
#endif
#ifndef PROBE_DISCONNECT_ENABLE
#define PROBE_DISCONNECT_ENABLE 0
#endif
#ifndef STOP_DISABLE_ENABLE
#define STOP_DISABLE_ENABLE 0
#endif
#ifndef BLOCK_DELETE_ENABLE
#define BLOCK_DELETE_ENABLE 0
#endif
#ifndef SINGLE_BLOCK_ENABLE
#define SINGLE_BLOCK_ENABLE 0
#endif
#ifndef MOTOR_FAULT_ENABLE
#define MOTOR_FAULT_ENABLE 0
#endif
#ifndef MOTOR_WARNING_ENABLE
#define MOTOR_WARNING_ENABLE 0
#endif
#ifndef LIMITS_OVERRIDE_ENABLE
#define LIMITS_OVERRIDE_ENABLE 0
#endif
#if SAFETY_DOOR_ENABLE && defined(NO_SAFETY_DOOR_SUPPORT)
#error "Driver does not support safety door functionality!"
@@ -397,6 +420,8 @@
#warning "Enabling ESTOP may not work with all senders!"
#endif
//
#ifndef WIFI_ENABLE
#define WIFI_ENABLE 0
#endif