Add DEFAULT_KEEPALIVE_INTERVAL setting

This commit is contained in:
Scott Lahteine 2016-04-06 17:30:23 -07:00
parent 098fb8f8c9
commit 2eca8d63b3
19 changed files with 76 additions and 19 deletions

View file

@ -721,9 +721,12 @@ 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 // By default Marlin will send a busy status message to the host
// every 10 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 DISABLE_HOST_KEEPALIVE // Enable this option 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.
#endif
// //
// M100 Free Memory Watcher // M100 Free Memory Watcher

View file

@ -704,9 +704,12 @@ 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 // By default Marlin will send a busy status message to the host
// every 10 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 DISABLE_HOST_KEEPALIVE // Enable this option 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.
#endif
// //
// M100 Free Memory Watcher // M100 Free Memory Watcher

View file

@ -701,9 +701,12 @@ 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 // By default Marlin will send a busy status message to the host
// every 10 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 DISABLE_HOST_KEEPALIVE // Enable this option 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.
#endif
// //
// M100 Free Memory Watcher // M100 Free Memory Watcher

View file

@ -713,9 +713,12 @@ 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 // By default Marlin will send a busy status message to the host
// every 10 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 DISABLE_HOST_KEEPALIVE // Enable this option 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.
#endif
// //
// M100 Free Memory Watcher // M100 Free Memory Watcher

View file

@ -715,9 +715,12 @@ 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 // By default Marlin will send a busy status message to the host
// every 10 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 DISABLE_HOST_KEEPALIVE // Enable this option 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.
#endif
// //
// M100 Free Memory Watcher // M100 Free Memory Watcher

View file

@ -738,9 +738,12 @@ 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 // By default Marlin will send a busy status message to the host
// every 10 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 DISABLE_HOST_KEEPALIVE // Enable this option 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.
#endif
// //
// M100 Free Memory Watcher // M100 Free Memory Watcher

View file

@ -721,9 +721,12 @@ 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 // By default Marlin will send a busy status message to the host
// every 10 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 DISABLE_HOST_KEEPALIVE // Enable this option 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.
#endif
// //
// M100 Free Memory Watcher // M100 Free Memory Watcher

View file

@ -716,9 +716,12 @@ 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 // By default Marlin will send a busy status message to the host
// every 10 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 DISABLE_HOST_KEEPALIVE // Enable this option 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.
#endif
// //
// M100 Free Memory Watcher // M100 Free Memory Watcher

View file

@ -729,9 +729,12 @@ 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 // By default Marlin will send a busy status message to the host
// every 10 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 DISABLE_HOST_KEEPALIVE // Enable this option 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.
#endif
// //
// M100 Free Memory Watcher // M100 Free Memory Watcher

View file

@ -742,9 +742,12 @@ 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 // By default Marlin will send a busy status message to the host
// every 10 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 DISABLE_HOST_KEEPALIVE // Enable this option 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.
#endif
// //
// M100 Free Memory Watcher // M100 Free Memory Watcher

View file

@ -713,9 +713,12 @@ 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 // By default Marlin will send a busy status message to the host
// every 10 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 DISABLE_HOST_KEEPALIVE // Enable this option 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.
#endif
// //
// M100 Free Memory Watcher // M100 Free Memory Watcher

View file

@ -721,9 +721,12 @@ 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 // By default Marlin will send a busy status message to the host
// every 10 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 DISABLE_HOST_KEEPALIVE // Enable this option 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.
#endif
// //
// M100 Free Memory Watcher // M100 Free Memory Watcher

View file

@ -843,9 +843,12 @@ 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 // By default Marlin will send a busy status message to the host
// every 10 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 DISABLE_HOST_KEEPALIVE // Enable this option 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.
#endif
// //
// M100 Free Memory Watcher // M100 Free Memory Watcher

View file

@ -843,9 +843,12 @@ 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 // By default Marlin will send a busy status message to the host
// every 10 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 DISABLE_HOST_KEEPALIVE // Enable this option 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.
#endif
// //
// M100 Free Memory Watcher // M100 Free Memory Watcher

View file

@ -847,9 +847,12 @@ 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 // By default Marlin will send a busy status message to the host
// every 10 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 DISABLE_HOST_KEEPALIVE // Enable this option 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.
#endif
// //
// M100 Free Memory Watcher // M100 Free Memory Watcher

View file

@ -840,9 +840,12 @@ 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 // By default Marlin will send a busy status message to the host
// every 10 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 DISABLE_HOST_KEEPALIVE // Enable this option 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.
#endif
// //
// M100 Free Memory Watcher // M100 Free Memory Watcher

View file

@ -757,9 +757,12 @@ 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 // By default Marlin will send a busy status message to the host
// every 10 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 DISABLE_HOST_KEEPALIVE // Enable this option 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.
#endif
// //
// M100 Free Memory Watcher // M100 Free Memory Watcher

View file

@ -724,9 +724,12 @@ 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 // By default Marlin will send a busy status message to the host
// every 10 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 DISABLE_HOST_KEEPALIVE // Enable this option 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.
#endif
// //
// M100 Free Memory Watcher // M100 Free Memory Watcher

View file

@ -715,9 +715,12 @@ 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 // By default Marlin will send a busy status message to the host
// every 10 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 DISABLE_HOST_KEEPALIVE // Enable this option 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.
#endif
// //
// M100 Free Memory Watcher // M100 Free Memory Watcher