Fertirrega v6 with internal temperature (but slow)

This commit is contained in:
2026-07-16 16:49:58 +01:00
parent 08709213d9
commit 8d1bb4fadb
121 changed files with 35137 additions and 12048 deletions
+1 -2
View File
@@ -28,7 +28,6 @@
/* USER CODE END 0 */
/*----------------------------------------------------------------------------*/
/* Configure GPIO */
/*----------------------------------------------------------------------------*/
@@ -133,7 +132,7 @@ void MX_GPIO_Init(void)
*/
void HAL_GPIO_EXTI_Callback(uint16_t GPIO_Pin)
{
if (GPIO_Pin == Calib_PH_Pin)
if ((GPIO_Pin == Calib_PH_Pin) && (main_state == STATE_RUNNING_OK))
{
uint32_t current_time = HAL_GetTick();
GPIO_PinState pin_state = HAL_GPIO_ReadPin(GPIOB, GPIO_PIN_3);