Ignore:
Timestamp:
2021-10-24T08:28:43Z (3 years ago)
Author:
GitHub <noreply@…>
Children:
f628215
Parents:
2ce943a (diff), cd981f2a (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
git-author:
Erik Kučák <35500848+Riko196@…> (2021-10-24 08:28:43)
git-committer:
GitHub <noreply@…> (2021-10-24 08:28:43)
Message:

Merge branch 'HelenOS:master' into master

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/arch/arm32/src/mach/raspberrypi/raspberrypi.c

    r2ce943a r8a9a41e  
    174174{
    175175#ifdef CONFIG_FB
     176        uint32_t width, height;
    176177        fb_properties_t prop;
    177         if (bcm2835_fb_init(&prop)) {
     178
     179        if (!bcm2835_mbox_get_fb_size(&width, &height)) {
     180                printf("mbox: could not get the framebuffer size\n");
     181                width = 640;
     182                height = 480;
     183        }
     184        if (bcm2835_fb_init(&prop, width, height)) {
    178185                outdev_t *fb_dev = fb_init(&prop);
    179186                if (fb_dev)
Note: See TracChangeset for help on using the changeset viewer.