Minor modifications to lcd_api.c
This commit is contained in:
2
.gitignore
vendored
2
.gitignore
vendored
@@ -36,3 +36,5 @@ project/Debug/
|
||||
project/.idea/
|
||||
|
||||
project/cmake-build-debug/
|
||||
|
||||
project/Scripts/
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
#include "lcd_api.h"
|
||||
|
||||
//LTDC_HandleTypeDef hLtdcHandler;
|
||||
|
||||
static DMA2D_HandleTypeDef hDma2dHandler2;
|
||||
|
||||
void init_lcd(void){
|
||||
|
||||
@@ -118,7 +118,6 @@ int main(void)
|
||||
HAL_GPIO_WritePin(LCD_DISP_GPIO_Port, LCD_DISP_Pin, GPIO_PIN_SET);
|
||||
/* USER CODE END 2 */
|
||||
init_lcd();
|
||||
//display_bmp_array(stlogo, 20, 20, 0);
|
||||
/* Infinite loop */
|
||||
/* USER CODE BEGIN WHILE */
|
||||
while (1)
|
||||
@@ -126,9 +125,6 @@ int main(void)
|
||||
/* USER CODE END WHILE */
|
||||
|
||||
/* USER CODE BEGIN 3 */
|
||||
WDA_LCD_DrawBmp(TEST_DATA, 30, 30, 50, 50, 0x00000002U);
|
||||
|
||||
|
||||
}
|
||||
/* USER CODE END 3 */
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user