Browse Source

Fix trailing whitespace

pull/1/head
Scott Lahteine 6 years ago
parent
commit
894f5c24a8
  1. 10
      Marlin/src/HAL/HAL_ESP32/i2s.cpp
  2. 2
      Marlin/src/gcode/control/M380_M381.cpp
  3. 10
      Marlin/src/module/tool_change.cpp

10
Marlin/src/HAL/HAL_ESP32/i2s.cpp

@ -162,19 +162,19 @@ int i2s_init() {
periph_module_enable(PERIPH_I2S0_MODULE);
/**
* Each i2s transfer will take
* Each i2s transfer will take
* fpll = PLL_D2_CLK -- clka_en = 0
*
*
* fi2s = fpll / N + b/a -- N = clkm_div_num
* fi2s = 160MHz / 2
* fi2s = 80MHz
*
*
* fbclk = fi2s / M -- M = tx_bck_div_num
* fbclk = 80MHz / 2
* fbclk = 40MHz
*
*
* fwclk = fbclk / 32
*
*
* for fwclk = 250kHz (4uS pulse time)
* N = 10
* M = 20

2
Marlin/src/gcode/control/M380_M381.cpp

@ -45,7 +45,7 @@ void GcodeSuite::M380() {
* M381: Disable all solenoids if EXT_SOLENOID
* Disable selected/active solenoid if MANUAL_SOLENOID_CONTROL
*/
void GcodeSuite::M381() {
void GcodeSuite::M381() {
#if ENABLED(MANUAL_SOLENOID_CONTROL)
disable_solenoid(parser.intval('S', active_extruder));
#else

10
Marlin/src/module/tool_change.cpp

@ -133,7 +133,7 @@
parkingslowspeed, // M951 J
parkinghighspeed , // M951 H
parkingtraveldistance, // M951 D
compensationmultiplier;
compensationmultiplier;
inline void magnetic_parking_extruder_tool_change(const uint8_t tmp_extruder) {
@ -178,20 +178,20 @@
// STEP 2
current_position[X_AXIS] = grabpos + offsetcompensation;
#if ENABLED(DEBUG_LEVELING_FEATURE)
if (DEBUGGING(LEVELING)) {
SERIAL_ECHOPAIR("(2) Couple extruder ", int(tmp_extruder));
DEBUG_POS(" to new extruder GrabPos", current_position);
}
#endif
planner.buffer_line(current_position, mpe_settings.slow_feedrate, tmp_extruder);
planner.synchronize();
// Delay before moving tool, to allow magnetic coupling
gcode.dwell(150);
// STEP 3
current_position[X_AXIS] = mpe_settings.parking_xpos[tmp_extruder] + offsetcompensation;

Loading…
Cancel
Save