Browse Source

Merge pull request #3720 from jbrazio/feature/host-keepalive

Removes the DISABLE from HOST_KEEPALIVE
pull/1/head
Scott Lahteine 8 years ago
parent
commit
f13c4a9ec4
  1. 6
      Marlin/Conditionals.h
  2. 6
      Marlin/Configuration.h
  3. 6
      Marlin/example_configurations/Felix/Configuration.h
  4. 6
      Marlin/example_configurations/Hephestos/Configuration.h
  5. 6
      Marlin/example_configurations/Hephestos_2/Configuration.h
  6. 6
      Marlin/example_configurations/K8200/Configuration.h
  7. 6
      Marlin/example_configurations/RepRapWorld/Megatronics/Configuration.h
  8. 6
      Marlin/example_configurations/RigidBot/Configuration.h
  9. 6
      Marlin/example_configurations/SCARA/Configuration.h
  10. 6
      Marlin/example_configurations/TAZ4/Configuration.h
  11. 6
      Marlin/example_configurations/WITBOX/Configuration.h
  12. 6
      Marlin/example_configurations/adafruit/ST7565/Configuration.h
  13. 6
      Marlin/example_configurations/delta/biv2.5/Configuration.h
  14. 6
      Marlin/example_configurations/delta/generic/Configuration.h
  15. 6
      Marlin/example_configurations/delta/kossel_mini/Configuration.h
  16. 6
      Marlin/example_configurations/delta/kossel_pro/Configuration.h
  17. 6
      Marlin/example_configurations/delta/kossel_xl/Configuration.h
  18. 6
      Marlin/example_configurations/makibox/Configuration.h
  19. 6
      Marlin/example_configurations/tvrrug/Round2/Configuration.h

6
Marlin/Conditionals.h

@ -395,10 +395,10 @@
#endif #endif
/** /**
* Avoid double-negatives for enabling features * Host keep alive
*/ */
#if DISABLED(DISABLE_HOST_KEEPALIVE) #ifndef DEFAULT_KEEPALIVE_INTERVAL
#define HOST_KEEPALIVE_FEATURE #define DEFAULT_KEEPALIVE_INTERVAL 2
#endif #endif
/** /**

6
Marlin/Configuration.h

@ -733,13 +733,11 @@ const bool Z_MIN_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the l
// //
// Host Keepalive // Host Keepalive
// //
// By default Marlin will send a busy status message to the host // When enabled Marlin will send a busy status message to the host
// every couple of seconds when it can't accept commands. // every couple of seconds when it can't accept commands.
// //
//#define DISABLE_HOST_KEEPALIVE // Enable this option if your host doesn't like keepalive messages. #define HOST_KEEPALIVE_FEATURE // Disable this if your host doesn't like keepalive messages
#if DISABLED(DISABLE_HOST_KEEPALIVE)
#define DEFAULT_KEEPALIVE_INTERVAL 2 // Number of seconds between "busy" messages. Set with M113. #define DEFAULT_KEEPALIVE_INTERVAL 2 // Number of seconds between "busy" messages. Set with M113.
#endif
// //
// M100 Free Memory Watcher // M100 Free Memory Watcher

6
Marlin/example_configurations/Felix/Configuration.h

@ -716,13 +716,11 @@ const bool Z_MIN_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the l
// //
// Host Keepalive // Host Keepalive
// //
// By default Marlin will send a busy status message to the host // When enabled Marlin will send a busy status message to the host
// every couple of seconds when it can't accept commands. // every couple of seconds when it can't accept commands.
// //
//#define DISABLE_HOST_KEEPALIVE // Enable this option if your host doesn't like keepalive messages. #define HOST_KEEPALIVE_FEATURE // Disable this if your host doesn't like keepalive messages
#if DISABLED(DISABLE_HOST_KEEPALIVE)
#define DEFAULT_KEEPALIVE_INTERVAL 2 // Number of seconds between "busy" messages. Set with M113. #define DEFAULT_KEEPALIVE_INTERVAL 2 // Number of seconds between "busy" messages. Set with M113.
#endif
// //
// M100 Free Memory Watcher // M100 Free Memory Watcher

6
Marlin/example_configurations/Hephestos/Configuration.h

@ -725,13 +725,11 @@ const bool Z_MIN_PROBE_ENDSTOP_INVERTING = true; // set to true to invert the lo
// //
// Host Keepalive // Host Keepalive
// //
// By default Marlin will send a busy status message to the host // When enabled Marlin will send a busy status message to the host
// every couple of seconds when it can't accept commands. // every couple of seconds when it can't accept commands.
// //
//#define DISABLE_HOST_KEEPALIVE // Enable this option if your host doesn't like keepalive messages. #define HOST_KEEPALIVE_FEATURE // Disable this if your host doesn't like keepalive messages
#if DISABLED(DISABLE_HOST_KEEPALIVE)
#define DEFAULT_KEEPALIVE_INTERVAL 2 // Number of seconds between "busy" messages. Set with M113. #define DEFAULT_KEEPALIVE_INTERVAL 2 // Number of seconds between "busy" messages. Set with M113.
#endif
// //
// M100 Free Memory Watcher // M100 Free Memory Watcher

6
Marlin/example_configurations/Hephestos_2/Configuration.h

@ -727,13 +727,11 @@ const bool Z_MIN_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the l
// //
// Host Keepalive // Host Keepalive
// //
// By default Marlin will send a busy status message to the host // When enabled Marlin will send a busy status message to the host
// every couple of seconds when it can't accept commands. // every couple of seconds when it can't accept commands.
// //
//#define DISABLE_HOST_KEEPALIVE // Enable this option if your host doesn't like keepalive messages. #define HOST_KEEPALIVE_FEATURE // Disable this if your host doesn't like keepalive messages
#if DISABLED(DISABLE_HOST_KEEPALIVE)
#define DEFAULT_KEEPALIVE_INTERVAL 2 // Number of seconds between "busy" messages. Set with M113. #define DEFAULT_KEEPALIVE_INTERVAL 2 // Number of seconds between "busy" messages. Set with M113.
#endif
// //
// M100 Free Memory Watcher // M100 Free Memory Watcher

6
Marlin/example_configurations/K8200/Configuration.h

@ -750,13 +750,11 @@ const bool Z_MIN_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the l
// //
// Host Keepalive // Host Keepalive
// //
// By default Marlin will send a busy status message to the host // When enabled Marlin will send a busy status message to the host
// every couple of seconds when it can't accept commands. // every couple of seconds when it can't accept commands.
// //
//#define DISABLE_HOST_KEEPALIVE // Enable this option if your host doesn't like keepalive messages. #define HOST_KEEPALIVE_FEATURE // Disable this if your host doesn't like keepalive messages
#if DISABLED(DISABLE_HOST_KEEPALIVE)
#define DEFAULT_KEEPALIVE_INTERVAL 2 // Number of seconds between "busy" messages. Set with M113. #define DEFAULT_KEEPALIVE_INTERVAL 2 // Number of seconds between "busy" messages. Set with M113.
#endif
// //
// M100 Free Memory Watcher // M100 Free Memory Watcher

6
Marlin/example_configurations/RepRapWorld/Megatronics/Configuration.h

@ -733,13 +733,11 @@ const bool Z_MIN_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the l
// //
// Host Keepalive // Host Keepalive
// //
// By default Marlin will send a busy status message to the host // When enabled Marlin will send a busy status message to the host
// every couple of seconds when it can't accept commands. // every couple of seconds when it can't accept commands.
// //
//#define DISABLE_HOST_KEEPALIVE // Enable this option if your host doesn't like keepalive messages. #define HOST_KEEPALIVE_FEATURE // Disable this if your host doesn't like keepalive messages
#if DISABLED(DISABLE_HOST_KEEPALIVE)
#define DEFAULT_KEEPALIVE_INTERVAL 2 // Number of seconds between "busy" messages. Set with M113. #define DEFAULT_KEEPALIVE_INTERVAL 2 // Number of seconds between "busy" messages. Set with M113.
#endif
// //
// M100 Free Memory Watcher // M100 Free Memory Watcher

6
Marlin/example_configurations/RigidBot/Configuration.h

@ -728,13 +728,11 @@ const bool Z_MIN_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the l
// //
// Host Keepalive // Host Keepalive
// //
// By default Marlin will send a busy status message to the host // When enabled Marlin will send a busy status message to the host
// every couple of seconds when it can't accept commands. // every couple of seconds when it can't accept commands.
// //
//#define DISABLE_HOST_KEEPALIVE // Enable this option if your host doesn't like keepalive messages. #define HOST_KEEPALIVE_FEATURE // Disable this if your host doesn't like keepalive messages
#if DISABLED(DISABLE_HOST_KEEPALIVE)
#define DEFAULT_KEEPALIVE_INTERVAL 2 // Number of seconds between "busy" messages. Set with M113. #define DEFAULT_KEEPALIVE_INTERVAL 2 // Number of seconds between "busy" messages. Set with M113.
#endif
// //
// M100 Free Memory Watcher // M100 Free Memory Watcher

6
Marlin/example_configurations/SCARA/Configuration.h

@ -741,13 +741,11 @@ const bool Z_MIN_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the l
// //
// Host Keepalive // Host Keepalive
// //
// By default Marlin will send a busy status message to the host // When enabled Marlin will send a busy status message to the host
// every couple of seconds when it can't accept commands. // every couple of seconds when it can't accept commands.
// //
//#define DISABLE_HOST_KEEPALIVE // Enable this option if your host doesn't like keepalive messages. #define HOST_KEEPALIVE_FEATURE // Disable this if your host doesn't like keepalive messages
#if DISABLED(DISABLE_HOST_KEEPALIVE)
#define DEFAULT_KEEPALIVE_INTERVAL 2 // Number of seconds between "busy" messages. Set with M113. #define DEFAULT_KEEPALIVE_INTERVAL 2 // Number of seconds between "busy" messages. Set with M113.
#endif
// //
// M100 Free Memory Watcher // M100 Free Memory Watcher

6
Marlin/example_configurations/TAZ4/Configuration.h

@ -754,13 +754,11 @@ const bool Z_MIN_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the l
// //
// Host Keepalive // Host Keepalive
// //
// By default Marlin will send a busy status message to the host // When enabled Marlin will send a busy status message to the host
// every couple of seconds when it can't accept commands. // every couple of seconds when it can't accept commands.
// //
//#define DISABLE_HOST_KEEPALIVE // Enable this option if your host doesn't like keepalive messages. #define HOST_KEEPALIVE_FEATURE // Disable this if your host doesn't like keepalive messages
#if DISABLED(DISABLE_HOST_KEEPALIVE)
#define DEFAULT_KEEPALIVE_INTERVAL 2 // Number of seconds between "busy" messages. Set with M113. #define DEFAULT_KEEPALIVE_INTERVAL 2 // Number of seconds between "busy" messages. Set with M113.
#endif
// //
// M100 Free Memory Watcher // M100 Free Memory Watcher

6
Marlin/example_configurations/WITBOX/Configuration.h

@ -725,13 +725,11 @@ const bool Z_MIN_PROBE_ENDSTOP_INVERTING = true; // set to true to invert the lo
// //
// Host Keepalive // Host Keepalive
// //
// By default Marlin will send a busy status message to the host // When enabled Marlin will send a busy status message to the host
// every couple of seconds when it can't accept commands. // every couple of seconds when it can't accept commands.
// //
//#define DISABLE_HOST_KEEPALIVE // Enable this option if your host doesn't like keepalive messages. #define HOST_KEEPALIVE_FEATURE // Disable this if your host doesn't like keepalive messages
#if DISABLED(DISABLE_HOST_KEEPALIVE)
#define DEFAULT_KEEPALIVE_INTERVAL 2 // Number of seconds between "busy" messages. Set with M113. #define DEFAULT_KEEPALIVE_INTERVAL 2 // Number of seconds between "busy" messages. Set with M113.
#endif
// //
// M100 Free Memory Watcher // M100 Free Memory Watcher

6
Marlin/example_configurations/adafruit/ST7565/Configuration.h

@ -733,13 +733,11 @@ const bool Z_MIN_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the l
// //
// Host Keepalive // Host Keepalive
// //
// By default Marlin will send a busy status message to the host // When enabled Marlin will send a busy status message to the host
// every couple of seconds when it can't accept commands. // every couple of seconds when it can't accept commands.
// //
//#define DISABLE_HOST_KEEPALIVE // Enable this option if your host doesn't like keepalive messages. #define HOST_KEEPALIVE_FEATURE // Disable this if your host doesn't like keepalive messages
#if DISABLED(DISABLE_HOST_KEEPALIVE)
#define DEFAULT_KEEPALIVE_INTERVAL 2 // Number of seconds between "busy" messages. Set with M113. #define DEFAULT_KEEPALIVE_INTERVAL 2 // Number of seconds between "busy" messages. Set with M113.
#endif
// //
// M100 Free Memory Watcher // M100 Free Memory Watcher

6
Marlin/example_configurations/delta/biv2.5/Configuration.h

@ -862,13 +862,11 @@ const bool Z_MIN_PROBE_ENDSTOP_INVERTING = true; // set to true to invert the lo
// //
// Host Keepalive // Host Keepalive
// //
// By default Marlin will send a busy status message to the host // When enabled Marlin will send a busy status message to the host
// every couple of seconds when it can't accept commands. // every couple of seconds when it can't accept commands.
// //
//#define DISABLE_HOST_KEEPALIVE // Enable this option if your host doesn't like keepalive messages. #define HOST_KEEPALIVE_FEATURE // Disable this if your host doesn't like keepalive messages
#if DISABLED(DISABLE_HOST_KEEPALIVE)
#define DEFAULT_KEEPALIVE_INTERVAL 2 // Number of seconds between "busy" messages. Set with M113. #define DEFAULT_KEEPALIVE_INTERVAL 2 // Number of seconds between "busy" messages. Set with M113.
#endif
// //
// M100 Free Memory Watcher // M100 Free Memory Watcher

6
Marlin/example_configurations/delta/generic/Configuration.h

@ -862,13 +862,11 @@ const bool Z_MIN_PROBE_ENDSTOP_INVERTING = true; // set to true to invert the lo
// //
// Host Keepalive // Host Keepalive
// //
// By default Marlin will send a busy status message to the host // When enabled Marlin will send a busy status message to the host
// every couple of seconds when it can't accept commands. // every couple of seconds when it can't accept commands.
// //
//#define DISABLE_HOST_KEEPALIVE // Enable this option if your host doesn't like keepalive messages. #define HOST_KEEPALIVE_FEATURE // Disable this if your host doesn't like keepalive messages
#if DISABLED(DISABLE_HOST_KEEPALIVE)
#define DEFAULT_KEEPALIVE_INTERVAL 2 // Number of seconds between "busy" messages. Set with M113. #define DEFAULT_KEEPALIVE_INTERVAL 2 // Number of seconds between "busy" messages. Set with M113.
#endif
// //
// M100 Free Memory Watcher // M100 Free Memory Watcher

6
Marlin/example_configurations/delta/kossel_mini/Configuration.h

@ -866,13 +866,11 @@ const bool Z_MIN_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the l
// //
// Host Keepalive // Host Keepalive
// //
// By default Marlin will send a busy status message to the host // When enabled Marlin will send a busy status message to the host
// every couple of seconds when it can't accept commands. // every couple of seconds when it can't accept commands.
// //
//#define DISABLE_HOST_KEEPALIVE // Enable this option if your host doesn't like keepalive messages. #define HOST_KEEPALIVE_FEATURE // Disable this if your host doesn't like keepalive messages
#if DISABLED(DISABLE_HOST_KEEPALIVE)
#define DEFAULT_KEEPALIVE_INTERVAL 2 // Number of seconds between "busy" messages. Set with M113. #define DEFAULT_KEEPALIVE_INTERVAL 2 // Number of seconds between "busy" messages. Set with M113.
#endif
// //
// M100 Free Memory Watcher // M100 Free Memory Watcher

6
Marlin/example_configurations/delta/kossel_pro/Configuration.h

@ -859,13 +859,11 @@ const bool Z_MIN_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the l
// //
// Host Keepalive // Host Keepalive
// //
// By default Marlin will send a busy status message to the host // When enabled Marlin will send a busy status message to the host
// every couple of seconds when it can't accept commands. // every couple of seconds when it can't accept commands.
// //
//#define DISABLE_HOST_KEEPALIVE // Enable this option if your host doesn't like keepalive messages. #define HOST_KEEPALIVE_FEATURE // Disable this if your host doesn't like keepalive messages
#if DISABLED(DISABLE_HOST_KEEPALIVE)
#define DEFAULT_KEEPALIVE_INTERVAL 2 // Number of seconds between "busy" messages. Set with M113. #define DEFAULT_KEEPALIVE_INTERVAL 2 // Number of seconds between "busy" messages. Set with M113.
#endif
// //
// M100 Free Memory Watcher // M100 Free Memory Watcher

6
Marlin/example_configurations/delta/kossel_xl/Configuration.h

@ -867,13 +867,11 @@ const bool Z_MIN_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the l
// //
// Host Keepalive // Host Keepalive
// //
// By default Marlin will send a busy status message to the host // When enabled Marlin will send a busy status message to the host
// every couple of seconds when it can't accept commands. // every couple of seconds when it can't accept commands.
// //
//#define DISABLE_HOST_KEEPALIVE // Enable this option if your host doesn't like keepalive messages. #define HOST_KEEPALIVE_FEATURE // Disable this if your host doesn't like keepalive messages
#if DISABLED(DISABLE_HOST_KEEPALIVE)
#define DEFAULT_KEEPALIVE_INTERVAL 2 // Number of seconds between "busy" messages. Set with M113. #define DEFAULT_KEEPALIVE_INTERVAL 2 // Number of seconds between "busy" messages. Set with M113.
#endif
// //
// M100 Free Memory Watcher // M100 Free Memory Watcher

6
Marlin/example_configurations/makibox/Configuration.h

@ -736,13 +736,11 @@ const bool Z_MIN_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the l
// //
// Host Keepalive // Host Keepalive
// //
// By default Marlin will send a busy status message to the host // When enabled Marlin will send a busy status message to the host
// every couple of seconds when it can't accept commands. // every couple of seconds when it can't accept commands.
// //
//#define DISABLE_HOST_KEEPALIVE // Enable this option if your host doesn't like keepalive messages. #define HOST_KEEPALIVE_FEATURE // Disable this if your host doesn't like keepalive messages
#if DISABLED(DISABLE_HOST_KEEPALIVE)
#define DEFAULT_KEEPALIVE_INTERVAL 2 // Number of seconds between "busy" messages. Set with M113. #define DEFAULT_KEEPALIVE_INTERVAL 2 // Number of seconds between "busy" messages. Set with M113.
#endif
// //
// M100 Free Memory Watcher // M100 Free Memory Watcher

6
Marlin/example_configurations/tvrrug/Round2/Configuration.h

@ -727,13 +727,11 @@ const bool Z_MIN_PROBE_ENDSTOP_INVERTING = true; // set to true to invert the lo
// //
// Host Keepalive // Host Keepalive
// //
// By default Marlin will send a busy status message to the host // When enabled Marlin will send a busy status message to the host
// every couple of seconds when it can't accept commands. // every couple of seconds when it can't accept commands.
// //
//#define DISABLE_HOST_KEEPALIVE // Enable this option if your host doesn't like keepalive messages. #define HOST_KEEPALIVE_FEATURE // Disable this if your host doesn't like keepalive messages
#if DISABLED(DISABLE_HOST_KEEPALIVE)
#define DEFAULT_KEEPALIVE_INTERVAL 2 // Number of seconds between "busy" messages. Set with M113. #define DEFAULT_KEEPALIVE_INTERVAL 2 // Number of seconds between "busy" messages. Set with M113.
#endif
// //
// M100 Free Memory Watcher // M100 Free Memory Watcher

Loading…
Cancel
Save