Skip to content

fixes #20961 Compile error in host_response_handler#20962

Merged
thinkyhead merged 2 commits intoMarlinFirmware:bugfix-2.0.xfrom
ellensp:bugfix-2.0.x-#20961
Feb 2, 2021
Merged

fixes #20961 Compile error in host_response_handler#20962
thinkyhead merged 2 commits intoMarlinFirmware:bugfix-2.0.xfrom
ellensp:bugfix-2.0.x-#20961

Conversation

@ellensp
Copy link
Contributor

@ellensp ellensp commented Feb 1, 2021

Description

host_response_handler() will not compile if SDSUPPORT is disabled
Uses the following without checking for SDSUPPORT and M24_STR is only defined when using SDSUPPORT

          extern const char M24_STR[];
          queue.inject_P(M24_STR);

Added a check for SDSUPPORT

Requirements

ADVANCED_PAUSE_FEATURE and HOST_PROMPT_SUPPORT with SDSUPPORT disabled

Benefits

Compiles as expected

Configurations

https://github.com/MarlinFirmware/Marlin/files/5901201/Configurations.zip

Related Issues

Issue #20961

@ellensp ellensp changed the title fixes #20961 fixes #20961 Compile error in host_response_handler Feb 1, 2021
@discip
Copy link
Contributor

discip commented Feb 1, 2021

That fixed my problem.
Thanks a ton. 👍

@thinkyhead thinkyhead merged commit 65483dc into MarlinFirmware:bugfix-2.0.x Feb 2, 2021
@ellensp ellensp deleted the bugfix-2.0.x-#20961 branch February 2, 2021 22:42
Jyers pushed a commit to Jyers/Marlin that referenced this pull request Feb 3, 2021
susisstrolch pushed a commit to susisstrolch/Marlin that referenced this pull request Feb 16, 2021
… into bugfix-2.0.x

* 'bugfix-2.0.x' of https://github.com/MarlinFirmware/Marlin: (121 commits)
  [cron] Bump distribution date (2021-02-04)
  [cron] Bump distribution date (2021-02-03)
  Add "more" menu in LVGL interface (MarlinFirmware#20940)
  Evaluate ANY_SERIAL_IS in place
  Note (MarlinUI) limit on PREHEAT settings (MarlinFirmware#20966)
  Update a UBL comment (MarlinFirmware#20931)
  STM32 Shared Media - USB Mass Storage Device (MarlinFirmware#20956)
  Multi-language pertains to Color UI (MarlinFirmware#20972)
  Touch Calibration Screen auto-save option (MarlinFirmware#20971)
  Include ui_common for MARLIN_LOGO_FULL_SIZE (MarlinFirmware#20963)
  Fix host_response_handler compile (MarlinFirmware#20962)
  [cron] Bump distribution date (2021-02-02)
  LVGL UI G-code console (MarlinFirmware#20755)
  [cron] Bump distribution date (2021-02-01)
  Refresh screen on M22 (detach) (MarlinFirmware#20958)
  Fix AutoReporter implementation (MarlinFirmware#20959)
  Serial refactor followup (MarlinFirmware#20932)
  Init serial ports first (MarlinFirmware#20944)
  Remove extra G29 V newlines (MarlinFirmware#20955)
  [cron] Bump distribution date (2021-01-31)
  ...
kpishere pushed a commit to kpishere/Marlin that referenced this pull request Feb 19, 2021
zillarob pushed a commit to zillarob/Marlin that referenced this pull request Feb 25, 2021
W4tel-BiDi pushed a commit to W4tel-BiDi/Marlin that referenced this pull request Apr 5, 2021
thinkyhead pushed a commit that referenced this pull request Apr 30, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants