增加LCD动态翻转的函数

This commit is contained in:
不吃油炸鸡
2025-10-09 19:55:18 +08:00
parent 9527dd21ce
commit 92db314c84
4 changed files with 36 additions and 25 deletions

View File

@@ -4,17 +4,6 @@
#include "spi.h"
#include "cmsis_os.h"
#if USE_HORIZONTAL == 0
#define OFFSET_Y 0
#define OFFSET_X 0
#elif USE_HORIZONTAL == 1
#define OFFSET_Y 80
#define OFFSET_X 0
#else
#define OFFSET_Y 0
#define OFFSET_X 0
#endif
extern osSemaphoreId_t DMA_SemaphoreHandle;
/******************************************************************************
函数说明:在指定区域填充颜色