feat: speed up PRTS LCD refresh

This commit is contained in:
TuxMonkey
2026-07-20 23:34:13 +08:00
parent b2169513e1
commit 8671f84139
14 changed files with 2296 additions and 98 deletions

View File

@@ -48,7 +48,7 @@
/* Private define ------------------------------------------------------------*/
/* USER CODE BEGIN PD */
#define PRTS_STATUS_UPDATE_PERIOD_MS 50U
#define PRTS_TASK_SLEEP_CAP_MS 2U
#define PRTS_TASK_SLEEP_CAP_MS 1U
/* USER CODE END PD */
@@ -169,7 +169,7 @@ const osThreadAttr_t prts_attributes = {
.cb_size = sizeof(prtsTaskControlBlock),
.stack_mem = prtsTaskStack,
.stack_size = sizeof(prtsTaskStack),
.priority = osPriorityBelowNormal
.priority = osPriorityNormal
};
osThreadId_t prtsHandle;
void StartPRTSTask(void *argument);