ganz hässliche code zwischen speicher

This commit is contained in:
2025-07-12 02:38:13 +02:00
parent 9c4b60fd18
commit fb3eba0a09
12 changed files with 88 additions and 66 deletions

View File

@ -61,7 +61,6 @@ void Error_Handler(void);
/* Private defines -----------------------------------------------------------*/
#define TS_ON_Pin GPIO_PIN_8
#define TS_ON_GPIO_Port GPIOI
#define TS_ON_EXTI_IRQn EXTI9_5_IRQn
#define SDC_ON_Pin GPIO_PIN_0
#define SDC_ON_GPIO_Port GPIOI
#define SDC_ENABLE_Pin GPIO_PIN_1
@ -79,8 +78,9 @@ void Error_Handler(void);
#define IMD_ERROR_GPIO_Port GPIOI
/* USER CODE BEGIN Private defines */
#define AMS_TIMEOUT 150
#define AMS_TIMEOUT 5000
#define TRY(call) {if (call) return HAL_ERROR;}
#define SHOW_STATE(call) {if (call) led_blink(&htim3, COLOR_ERROR, 0);}
/* USER CODE END Private defines */
#ifdef __cplusplus