Skip to content

Comments

Add ExtUI::onStatusChanged_P function#17543

Merged
thinkyhead merged 1 commit intoMarlinFirmware:bugfix-2.0.xfrom
Desuuuu:extui-status-progmem
Apr 16, 2020
Merged

Add ExtUI::onStatusChanged_P function#17543
thinkyhead merged 1 commit intoMarlinFirmware:bugfix-2.0.xfrom
Desuuuu:extui-status-progmem

Conversation

@Desuuuu
Copy link
Contributor

@Desuuuu Desuuuu commented Apr 14, 2020

It copies its parameter to SRAM and passes it to ExtUI::onStatusChanged (similar
to ExtUI::onUserConfirmRequired_P).

The call to ExtUI::onStatusChanged in pause.cpp was passing a PROGMEM pointer
in place of an SRAM one. It's now using ExtUI::onStatusChanged_P.

It copies the parameter to SRAM and passes it to ExtUI::onStatusChanged (similar
to ExtUI::onUserConfirmRequired_P).

The call to ExtUI::onStatusChanged in `pause.cpp` was passing a PROGMEM pointer
in place of an SRAM one. It's now using ExtUI::onStatusChanged_P.
@thinkyhead thinkyhead merged commit 2824e67 into MarlinFirmware:bugfix-2.0.x Apr 16, 2020
@Desuuuu Desuuuu deleted the extui-status-progmem branch April 17, 2020 12:46
jmp0x0000 pushed a commit to jmp0x0000/Marlin that referenced this pull request Aug 7, 2020
njibhu pushed a commit to njibhu/Marlin that referenced this pull request Aug 24, 2020
HairingX pushed a commit to HairingX/Marlin that referenced this pull request Jun 16, 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.

2 participants