STM32LTDC: Fix board function signatures

This commit is contained in:
Joel Bodenmann 2021-08-12 20:31:49 +02:00
parent 6fa3520f2a
commit 37450998e1
2 changed files with 4 additions and 4 deletions

View File

@ -393,7 +393,7 @@ static void configureLcdPins(void) {
#endif
}
static GFXINLINE void init_ltdc_clock()
static GFXINLINE void init_ltdc_clock(void)
{
// Reset the LTDC peripheral
RCC->APB2RSTR |= RCC_APB2RSTR_LTDCRST;
@ -407,7 +407,7 @@ static GFXINLINE void init_ltdc_clock()
}
#if LTDC_USE_DMA2D
static GFXINLINE void init_dma2d_clock()
static GFXINLINE void init_dma2d_clock(void)
{
// Enable DMA2D clock
RCC->AHB1ENR |= RCC_AHB1ENR_DMA2DEN;

View File

@ -55,13 +55,13 @@ static const ltdcConfig driverCfg = {
#endif
};
static GFXINLINE void init_ltdc_clock()
static GFXINLINE void init_ltdc_clock(void)
{
// Setup LTDC clock and enable the peripheral
}
#if LTDC_USE_DMA2D
static GFXINLINE void init_dma2d_clock()
static GFXINLINE void init_dma2d_clock(void)
{
// Setup DMA2D clock and enable the peripheral
}