Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix reading rle bmp data from pgm on avr #26827

Merged

Conversation

ellensp
Copy link
Contributor

@ellensp ellensp commented Feb 28, 2024

Description

COMPACT_CUSTOM_BOOTSCREEN does not work on 8 bit AVR machines
The data custom_start_bmp_rle is stored in PROGMEM, but it was being read out of standard memory,

IMG_0290

Updated to use pgm_read_byte so it is read out of PROGMEM on AVR's

Requirements

SHOW_CUSTOM_BOOTSCREEN with COMPACT_CUSTOM_BOOTSCREEN on a AVR controller
With a appropriately created _Bootscreen.h with custom_start_bmp_rle data.

Benefits

Works as expected

Related Issues

  • ✨ RLE Custom Bootscreen #26419
  • https://discord.com/channels/461605380783472640/491165528295997450/1212235657930350622

    @thinkyhead thinkyhead merged commit ecde3a3 into MarlinFirmware:bugfix-2.1.x Mar 2, 2024
    61 checks passed
    @ellensp ellensp deleted the AVR-RLE-bootscreen-fix branch March 2, 2024 04:12
    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