ganz hässliche code zwischen speicher
This commit is contained in:
@ -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
|
||||
|
||||
Reference in New Issue
Block a user