Skip to content

Commit

Permalink
Squashed commit of the following:
Browse files Browse the repository at this point in the history
commit dbd5dc4
Author: thinkyhead <thinkyhead@users.noreply.github.com>
Date:   Sun Nov 13 00:23:31 2022 +0000

    [cron] Bump distribution date (2022-11-13)

commit 7395569
Author: Scott Lahteine <thinkyhead@users.noreply.github.com>
Date:   Fri Nov 11 20:35:07 2022 -0600

    🐛 Fix Anycubic / Trigorilla pins, etc. (MarlinFirmware#24971)

commit e1423a8
Author: thinkyhead <thinkyhead@users.noreply.github.com>
Date:   Sat Nov 12 00:40:15 2022 +0000

    [cron] Bump distribution date (2022-11-12)

commit d123ea7
Author: Scott Lahteine <thinkyhead@users.noreply.github.com>
Date:   Fri Nov 11 16:09:26 2022 -0600

    🎨 Prefer axis element over index

commit 4d913fb
Author: thinkyhead <thinkyhead@users.noreply.github.com>
Date:   Thu Nov 10 06:06:37 2022 +0000

    [cron] Bump distribution date (2022-11-10)

commit 3985d26
Author: Scott Lahteine <thinkyhead@users.noreply.github.com>
Date:   Wed Nov 9 20:54:17 2022 -0600

    🐛 Fix recalculate_max_e_jerk
  • Loading branch information
adequator committed Nov 13, 2022
1 parent 9cf5658 commit fbcc2fb
Show file tree
Hide file tree
Showing 18 changed files with 642 additions and 576 deletions.
2 changes: 1 addition & 1 deletion Marlin/Version.h
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
* here we define this default string as the date where the latest release
* version was tagged.
*/
//#define STRING_DISTRIBUTION_DATE "2022-11-07"
//#define STRING_DISTRIBUTION_DATE "2022-11-13"

/**
* Defines a generic printer name to be output to the LCD after booting Marlin.
Expand Down
3 changes: 3 additions & 0 deletions Marlin/src/feature/powerloss.h
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,9 @@ class PrintJobRecovery {
static void prepare();

static void setup() {
#if PIN_EXISTS(OUTAGECON)
OUT_WRITE(OUTAGECON_PIN, HIGH);
#endif
#if PIN_EXISTS(POWER_LOSS)
#if ENABLED(POWER_LOSS_PULLUP)
SET_INPUT_PULLUP(POWER_LOSS_PIN);
Expand Down
11 changes: 9 additions & 2 deletions Marlin/src/gcode/config/M43.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -313,9 +313,16 @@ void GcodeSuite::M43() {

// 'P' Get the range of pins to test or watch
uint8_t first_pin = PARSED_PIN_INDEX('P', 0),
last_pin = parser.seenval('P') ? first_pin : (NUMBER_PINS_TOTAL) - 1;
last_pin = parser.seenval('L') ? PARSED_PIN_INDEX('L', 0) : parser.seenval('P') ? first_pin : (NUMBER_PINS_TOTAL) - 1;

if (first_pin > last_pin) return;
NOMORE(first_pin, (NUMBER_PINS_TOTAL) - 1);
NOMORE(last_pin, (NUMBER_PINS_TOTAL) - 1);

if (first_pin > last_pin) {
const uint8_t f = first_pin;
first_pin = last_pin;
last_pin = f;
}

// 'I' to ignore protected pins
const bool ignore_protection = parser.boolval('I');
Expand Down
1 change: 1 addition & 0 deletions Marlin/src/gcode/feature/advance/M900.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ void GcodeSuite::M900() {

#if EXTRUDERS < 2
constexpr uint8_t tool_index = 0;
UNUSED(tool_index);
#else
const uint8_t tool_index = parser.intval('T', active_extruder);
if (tool_index >= EXTRUDERS) {
Expand Down
Loading

0 comments on commit fbcc2fb

Please sign in to comment.