Browse Source

Revert default state of endstops in M502

pull/1/head
Scott Lahteine 9 years ago
parent
commit
69d6016941
  1. 9
      Marlin/configuration_store.cpp

9
Marlin/configuration_store.cpp

@ -127,6 +127,7 @@
*/
#include "Marlin.h"
#include "language.h"
#include "endstops.h"
#include "planner.h"
#include "temperature.h"
#include "ultralcd.h"
@ -660,6 +661,14 @@ void Config_ResetDefault() {
for (uint8_t q = 0; q < COUNT(filament_size); q++)
filament_size[q] = DEFAULT_NOMINAL_FILAMENT_DIA;
endstops.enable_globally(
#if ENABLED(ENDSTOPS_ALWAYS_ON_DEFAULT)
(true)
#else
(false)
#endif
);
Config_Postprocess();
SERIAL_ECHO_START;

Loading…
Cancel
Save