Чуть рефакторинга

This commit is contained in:
2026-01-24 15:30:19 +03:00
parent 8e75c38c90
commit 9f9af482cf
13 changed files with 445 additions and 398 deletions

View File

@@ -52,6 +52,12 @@ extern "C" {
/* Exported macro ------------------------------------------------------------*/
/* USER CODE BEGIN EM */
/* Дефайны для "удобного" доступа к структурам */
static UPP_PrvtParams_t *PARAM_INTERNAL = &MB_INTERNAL.param;
static UPP_PUI_Params_t *PARAM_PUI = &MB_DATA.HoldRegs.pui_params;
static UPP_PUI_Error_t *ERR_PUI = &errors.pui.err;
static UPP_PrvtErrors_t *ERR_PRIVATE = &errors.prvt.f.err;
static UPP_ErrorsCnt_t *ERR_PRIVATE_CNT = &errors.prvt.cnt;
/* USER CODE END EM */
/* Exported functions prototypes ---------------------------------------------*/