From b96e00b16691bc56dc12519ac4f3f75a3861493a Mon Sep 17 00:00:00 2001 From: Razvalyaev Date: Mon, 3 Mar 2025 13:52:22 +0300 Subject: [PATCH] =?UTF-8?q?hardfault=20=D0=B8=D1=81=D0=BF=D1=80=D0=B0?= =?UTF-8?q?=D0=B2=D0=BB=D0=B5=D0=BD,=20=D0=BF=D0=B5=D1=80=D0=B5=D0=B4?= =?UTF-8?q?=D0=B0=D0=B2=D0=B0=D0=BB=D1=81=D1=8F=20=D0=BD=D0=B5=D0=BF=D1=80?= =?UTF-8?q?=D0=B0=D0=B2=D0=B8=D0=BB=D1=8C=D0=BD=D1=8B=D0=B9=20=D1=83=D0=BA?= =?UTF-8?q?=D0=B0=D0=B7=D0=B0=D1=82=D0=B5=D0=BB=D1=8C=20=D0=B2=20=D1=84?= =?UTF-8?q?=D1=83=D0=BD=D0=BA=D1=86=D0=B8=D0=B8=20Dallas=5FReplaceLostedSe?= =?UTF-8?q?nsor?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Core/Dallas/dallas_tools.c | 2 +- MDK-ARM/PY32Dallas.uvoptx | 24 ++++-------------------- 2 files changed, 5 insertions(+), 21 deletions(-) diff --git a/Core/Dallas/dallas_tools.c b/Core/Dallas/dallas_tools.c index 8ace0bf..af66772 100644 --- a/Core/Dallas/dallas_tools.c +++ b/Core/Dallas/dallas_tools.c @@ -41,7 +41,7 @@ HAL_StatusTypeDef Dallas_ReplaceLostedSensor(DALLAS_SensorHandleTypeDef *sensor) if(DS18B20_Search(&DS, &OW) != HAL_OK) return HAL_ERROR; - if(sensor->Init.init_func(sensor->hdallas->onewire, sensor) != HAL_OK) + if(sensor->Init.init_func(sensor->hdallas, sensor) != HAL_OK) return HAL_ERROR; return HAL_OK; diff --git a/MDK-ARM/PY32Dallas.uvoptx b/MDK-ARM/PY32Dallas.uvoptx index 78976fb..076fc84 100644 --- a/MDK-ARM/PY32Dallas.uvoptx +++ b/MDK-ARM/PY32Dallas.uvoptx @@ -157,34 +157,18 @@ 0 0 - 67 + 152 1 -
134238266
+
134221440
0 0 0 0 0 1 - ..\Core\Src\main.c + ..\Core\Dallas\dallas_tools.c - \\Project\../Core/Src/main.c\67 -
- - 1 - 0 - 66 - 1 -
0
- 0 - 0 - 0 - 0 - 0 - 0 - ..\Core\Src\main.c - - + \\Project\../Core/Dallas/dallas_tools.c\152