Skip to content

Fix DMA buffer size #1

@damien-otis

Description

@damien-otis

The calculation of DMA buffer size is wrong, it should be this:

#define LED_DMA_BUFFER_SIZE ((LED_MAX_NBER_LEDS * sizeof(uint16_t) * (24/4)))+1

The current code uses 16 bytes instead of 2 bytes, making the DMA buffer quite large which slows down the refresh rate of the LEDs by a lot.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions