|
@@ -220,9 +220,9 @@ void setup_powerhold() {
|
220
|
220
|
#endif
|
221
|
221
|
#if HAS_POWER_SWITCH
|
222
|
222
|
#if ENABLED(PS_DEFAULT_OFF)
|
223
|
|
- PSU_OFF();
|
|
223
|
+ powersupply_on = true; PSU_OFF();
|
224
|
224
|
#else
|
225
|
|
- PSU_ON();
|
|
225
|
+ powersupply_on = false; PSU_ON();
|
226
|
226
|
#endif
|
227
|
227
|
#endif
|
228
|
228
|
}
|
|
@@ -231,10 +231,8 @@ void setup_powerhold() {
|
231
|
231
|
* Stepper Reset (RigidBoard, et.al.)
|
232
|
232
|
*/
|
233
|
233
|
#if HAS_STEPPER_RESET
|
234
|
|
- void disableStepperDrivers() {
|
235
|
|
- OUT_WRITE(STEPPER_RESET_PIN, LOW); // drive it down to hold in reset motor driver chips
|
236
|
|
- }
|
237
|
|
- void enableStepperDrivers() { SET_INPUT(STEPPER_RESET_PIN); } // set to input, which allows it to be pulled high by pullups
|
|
234
|
+ void disableStepperDrivers() { OUT_WRITE(STEPPER_RESET_PIN, LOW); } // Drive down to keep motor driver chips in reset
|
|
235
|
+ void enableStepperDrivers() { SET_INPUT(STEPPER_RESET_PIN); } // Set to input, allowing pullups to pull the pin high
|
238
|
236
|
#endif
|
239
|
237
|
|
240
|
238
|
#if ENABLED(EXPERIMENTAL_I2CBUS) && I2C_SLAVE_ADDRESS > 0
|