mirror of
https://github.com/slint-ui/slint.git
synced 2025-10-17 22:08:39 +00:00
Revert "stm32: Fix compilation with newer STM BSPs"
This reverts commit af2f8a5ab8
as it
breaks the build with the STM32H7 BSP. This needs to be solved
differently.
This commit is contained in:
parent
2567880db8
commit
a8909dfbfa
1 changed files with 0 additions and 8 deletions
|
@ -162,18 +162,10 @@ struct StmSlintPlatform : public slint::platform::Platform
|
|||
|
||||
SCB_CleanDCache_by_Addr((uint32_t *)buffer1.data(), buffer1.size());
|
||||
|
||||
#if defined(BSP_LCD_Relaod)
|
||||
BSP_LCD_Relaod(0, BSP_LCD_RELOAD_NONE);
|
||||
#else
|
||||
BSP_LCD_Reload(0, BSP_LCD_RELOAD_NONE);
|
||||
#endif
|
||||
BSP_LCD_SetLayerAddress(0, 0, uintptr_t(buffer1.data()));
|
||||
screen_ready = false;
|
||||
#if defined(BSP_LCD_Relaod)
|
||||
BSP_LCD_Relaod(0, BSP_LCD_RELOAD_VERTICAL_BLANKING);
|
||||
#else
|
||||
BSP_LCD_Reload(0, BSP_LCD_RELOAD_VERTICAL_BLANKING);
|
||||
#endif
|
||||
|
||||
std::swap(buffer1, buffer2);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue