Browse Source

activate advanced_ok and no_timeout

pull/1/head
Wurstnase 10 years ago
parent
commit
526ad82d20
  1. 6
      Marlin/Configuration_adv.h
  2. 2
      Marlin/Marlin_main.cpp
  3. 8
      Marlin/configurator/config/Configuration_adv.h
  4. 8
      Marlin/example_configurations/Felix/Configuration_adv.h
  5. 10
      Marlin/example_configurations/Hephestos/Configuration_adv.h
  6. 8
      Marlin/example_configurations/K8200/Configuration_adv.h
  7. 8
      Marlin/example_configurations/SCARA/Configuration_adv.h
  8. 10
      Marlin/example_configurations/WITBOX/Configuration_adv.h
  9. 8
      Marlin/example_configurations/delta/biv2.5/Configuration_adv.h
  10. 8
      Marlin/example_configurations/delta/generic/Configuration_adv.h
  11. 8
      Marlin/example_configurations/delta/kossel_mini/Configuration_adv.h
  12. 8
      Marlin/example_configurations/makibox/Configuration_adv.h
  13. 8
      Marlin/example_configurations/tvrrug/Round2/Configuration_adv.h

6
Marlin/Configuration_adv.h

@ -379,10 +379,10 @@ const unsigned int dropsegments=5; //everything with less than this number of st
// Bad Serial-connections can miss a received command by sending an 'ok' // Bad Serial-connections can miss a received command by sending an 'ok'
// Therefore some clients go after 30 seconds in a timeout. Some other clients start sending commands while receiving a 'wait'. // Therefore some clients go after 30 seconds in a timeout. Some other clients start sending commands while receiving a 'wait'.
// This wait is only send when the buffer is empty. The timeout-length is in milliseconds. 1000 is a good value. // This wait is only send when the buffer is empty. The timeout-length is in milliseconds. 1000 is a good value.
// #define NO_TIMEOUTS 1000 #define NO_TIMEOUTS 1000
// Some clients will have this feature soon. This should make the NO_TIMEOUTS unnecessary. // Some clients will have this feature soon. This could make the NO_TIMEOUTS unnecessary.
// #define ADVANCED_OK #define ADVANCED_OK
// @section fwretract // @section fwretract

2
Marlin/Marlin_main.cpp

@ -5535,7 +5535,7 @@ void ClearToSend() {
SERIAL_PROTOCOLPGM(" N"); SERIAL_PROTOCOL(gcode_LastN); SERIAL_PROTOCOLPGM(" N"); SERIAL_PROTOCOL(gcode_LastN);
SERIAL_PROTOCOLPGM(" P"); SERIAL_PROTOCOL(BUFSIZE - commands_in_queue); SERIAL_PROTOCOLPGM(" P"); SERIAL_PROTOCOL(BUFSIZE - commands_in_queue);
#endif #endif
SERIAL_PROTOCOLLNPGM(""); SERIAL_EOL;
} }
void get_coordinates() { void get_coordinates() {

8
Marlin/configurator/config/Configuration_adv.h

@ -376,6 +376,14 @@ const unsigned int dropsegments=5; //everything with less than this number of st
#define MAX_CMD_SIZE 96 #define MAX_CMD_SIZE 96
#define BUFSIZE 4 #define BUFSIZE 4
// Bad Serial-connections can miss a received command by sending an 'ok'
// Therefore some clients go after 30 seconds in a timeout. Some other clients start sending commands while receiving a 'wait'.
// This wait is only send when the buffer is empty. The timeout-length is in milliseconds. 1000 is a good value.
#define NO_TIMEOUTS 1000
// Some clients will have this feature soon. This could make the NO_TIMEOUTS unnecessary.
#define ADVANCED_OK
// @section fwretract // @section fwretract
// Firmware based and LCD controlled retract // Firmware based and LCD controlled retract

8
Marlin/example_configurations/Felix/Configuration_adv.h

@ -376,6 +376,14 @@ const unsigned int dropsegments=5; //everything with less than this number of st
#define MAX_CMD_SIZE 96 #define MAX_CMD_SIZE 96
#define BUFSIZE 4 #define BUFSIZE 4
// Bad Serial-connections can miss a received command by sending an 'ok'
// Therefore some clients go after 30 seconds in a timeout. Some other clients start sending commands while receiving a 'wait'.
// This wait is only send when the buffer is empty. The timeout-length is in milliseconds. 1000 is a good value.
#define NO_TIMEOUTS 1000
// Some clients will have this feature soon. This could make the NO_TIMEOUTS unnecessary.
#define ADVANCED_OK
// @section fwretract // @section fwretract
// Firmware based and LCD controlled retract // Firmware based and LCD controlled retract

10
Marlin/example_configurations/Hephestos/Configuration_adv.h

@ -374,7 +374,15 @@ const unsigned int dropsegments=5; //everything with less than this number of st
//The ASCII buffer for receiving from the serial: //The ASCII buffer for receiving from the serial:
#define MAX_CMD_SIZE 96 #define MAX_CMD_SIZE 96
#define BUFSIZE 5 #define BUFSIZE 4
// Bad Serial-connections can miss a received command by sending an 'ok'
// Therefore some clients go after 30 seconds in a timeout. Some other clients start sending commands while receiving a 'wait'.
// This wait is only send when the buffer is empty. The timeout-length is in milliseconds. 1000 is a good value.
#define NO_TIMEOUTS 1000
// Some clients will have this feature soon. This could make the NO_TIMEOUTS unnecessary.
#define ADVANCED_OK
// @section fwretract // @section fwretract

8
Marlin/example_configurations/K8200/Configuration_adv.h

@ -376,6 +376,14 @@ const unsigned int dropsegments=5; //everything with less than this number of st
#define MAX_CMD_SIZE 96 #define MAX_CMD_SIZE 96
#define BUFSIZE 4 #define BUFSIZE 4
// Bad Serial-connections can miss a received command by sending an 'ok'
// Therefore some clients go after 30 seconds in a timeout. Some other clients start sending commands while receiving a 'wait'.
// This wait is only send when the buffer is empty. The timeout-length is in milliseconds. 1000 is a good value.
#define NO_TIMEOUTS 1000
// Some clients will have this feature soon. This could make the NO_TIMEOUTS unnecessary.
#define ADVANCED_OK
// @section fwretract // @section fwretract
// Firmware based and LCD controlled retract // Firmware based and LCD controlled retract

8
Marlin/example_configurations/SCARA/Configuration_adv.h

@ -376,6 +376,14 @@ const unsigned int dropsegments=5; //everything with less than this number of st
#define MAX_CMD_SIZE 96 #define MAX_CMD_SIZE 96
#define BUFSIZE 4 #define BUFSIZE 4
// Bad Serial-connections can miss a received command by sending an 'ok'
// Therefore some clients go after 30 seconds in a timeout. Some other clients start sending commands while receiving a 'wait'.
// This wait is only send when the buffer is empty. The timeout-length is in milliseconds. 1000 is a good value.
#define NO_TIMEOUTS 1000
// Some clients will have this feature soon. This could make the NO_TIMEOUTS unnecessary.
#define ADVANCED_OK
// @section fwretract // @section fwretract
// Firmware based and LCD controlled retract // Firmware based and LCD controlled retract

10
Marlin/example_configurations/WITBOX/Configuration_adv.h

@ -374,7 +374,15 @@ const unsigned int dropsegments=5; //everything with less than this number of st
//The ASCII buffer for receiving from the serial: //The ASCII buffer for receiving from the serial:
#define MAX_CMD_SIZE 96 #define MAX_CMD_SIZE 96
#define BUFSIZE 5 #define BUFSIZE 4
// Bad Serial-connections can miss a received command by sending an 'ok'
// Therefore some clients go after 30 seconds in a timeout. Some other clients start sending commands while receiving a 'wait'.
// This wait is only send when the buffer is empty. The timeout-length is in milliseconds. 1000 is a good value.
#define NO_TIMEOUTS 1000
// Some clients will have this feature soon. This could make the NO_TIMEOUTS unnecessary.
#define ADVANCED_OK
// @section fwretract // @section fwretract

8
Marlin/example_configurations/delta/biv2.5/Configuration_adv.h

@ -377,6 +377,14 @@ const unsigned int dropsegments=5; //everything with less than this number of st
#define MAX_CMD_SIZE 96 #define MAX_CMD_SIZE 96
#define BUFSIZE 4 #define BUFSIZE 4
// Bad Serial-connections can miss a received command by sending an 'ok'
// Therefore some clients go after 30 seconds in a timeout. Some other clients start sending commands while receiving a 'wait'.
// This wait is only send when the buffer is empty. The timeout-length is in milliseconds. 1000 is a good value.
#define NO_TIMEOUTS 1000
// Some clients will have this feature soon. This could make the NO_TIMEOUTS unnecessary.
#define ADVANCED_OK
// @section fwretract // @section fwretract
// Firmware based and LCD controlled retract // Firmware based and LCD controlled retract

8
Marlin/example_configurations/delta/generic/Configuration_adv.h

@ -377,6 +377,14 @@ const unsigned int dropsegments=5; //everything with less than this number of st
#define MAX_CMD_SIZE 96 #define MAX_CMD_SIZE 96
#define BUFSIZE 4 #define BUFSIZE 4
// Bad Serial-connections can miss a received command by sending an 'ok'
// Therefore some clients go after 30 seconds in a timeout. Some other clients start sending commands while receiving a 'wait'.
// This wait is only send when the buffer is empty. The timeout-length is in milliseconds. 1000 is a good value.
#define NO_TIMEOUTS 1000
// Some clients will have this feature soon. This could make the NO_TIMEOUTS unnecessary.
#define ADVANCED_OK
// @section fwretract // @section fwretract
// Firmware based and LCD controlled retract // Firmware based and LCD controlled retract

8
Marlin/example_configurations/delta/kossel_mini/Configuration_adv.h

@ -376,6 +376,14 @@ const unsigned int dropsegments=5; //everything with less than this number of st
#define MAX_CMD_SIZE 96 #define MAX_CMD_SIZE 96
#define BUFSIZE 4 #define BUFSIZE 4
// Bad Serial-connections can miss a received command by sending an 'ok'
// Therefore some clients go after 30 seconds in a timeout. Some other clients start sending commands while receiving a 'wait'.
// This wait is only send when the buffer is empty. The timeout-length is in milliseconds. 1000 is a good value.
#define NO_TIMEOUTS 1000
// Some clients will have this feature soon. This could make the NO_TIMEOUTS unnecessary.
#define ADVANCED_OK
// @section fwretract // @section fwretract
// Firmware based and LCD controlled retract // Firmware based and LCD controlled retract

8
Marlin/example_configurations/makibox/Configuration_adv.h

@ -376,6 +376,14 @@ const unsigned int dropsegments=5; //everything with less than this number of st
#define MAX_CMD_SIZE 96 #define MAX_CMD_SIZE 96
#define BUFSIZE 4 #define BUFSIZE 4
// Bad Serial-connections can miss a received command by sending an 'ok'
// Therefore some clients go after 30 seconds in a timeout. Some other clients start sending commands while receiving a 'wait'.
// This wait is only send when the buffer is empty. The timeout-length is in milliseconds. 1000 is a good value.
#define NO_TIMEOUTS 1000
// Some clients will have this feature soon. This could make the NO_TIMEOUTS unnecessary.
#define ADVANCED_OK
// @section fwretract // @section fwretract
// Firmware based and LCD controlled retract // Firmware based and LCD controlled retract

8
Marlin/example_configurations/tvrrug/Round2/Configuration_adv.h

@ -376,6 +376,14 @@ const unsigned int dropsegments=5; //everything with less than this number of st
#define MAX_CMD_SIZE 96 #define MAX_CMD_SIZE 96
#define BUFSIZE 4 #define BUFSIZE 4
// Bad Serial-connections can miss a received command by sending an 'ok'
// Therefore some clients go after 30 seconds in a timeout. Some other clients start sending commands while receiving a 'wait'.
// This wait is only send when the buffer is empty. The timeout-length is in milliseconds. 1000 is a good value.
#define NO_TIMEOUTS 1000
// Some clients will have this feature soon. This could make the NO_TIMEOUTS unnecessary.
#define ADVANCED_OK
// @section fwretract // @section fwretract
// Firmware based and LCD controlled retract // Firmware based and LCD controlled retract

Loading…
Cancel
Save