From 1bf1bcdd27ab08d940ec64dd142a8dbb300444da Mon Sep 17 00:00:00 2001 From: Katya Date: Mon, 13 Nov 2023 10:58:19 +0300 Subject: [PATCH] 1 --- 3xThermo1xHT/idiBusFiles/IDIBUS_IMPL_Custom.c | 4 ++-- STM/.settings/language.settings.xml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/3xThermo1xHT/idiBusFiles/IDIBUS_IMPL_Custom.c b/3xThermo1xHT/idiBusFiles/IDIBUS_IMPL_Custom.c index 3242d0b..79b5ee5 100644 --- a/3xThermo1xHT/idiBusFiles/IDIBUS_IMPL_Custom.c +++ b/3xThermo1xHT/idiBusFiles/IDIBUS_IMPL_Custom.c @@ -42,7 +42,7 @@ void IDIBUS_GEN_ChannelHandler(struct IDIBUS_CHANNEL_STR* CH, IDIBUS_FARG_TYPE * switch (farg->ComFunc) { - case (0x01) : { // Добавить выключение + case (0x01) : { // Start if ( farg->InpDataLength == 0 ) { IDIBUS_ResponseProtectedWrite(farg, NULL, 0, IDIERSLV_INVALID_RX_REQUEST_FORMAT); } else { @@ -67,7 +67,7 @@ void IDIBUS_GEN_ChannelHandler(struct IDIBUS_CHANNEL_STR* CH, IDIBUS_FARG_TYPE * case (0x02) : { // STM Reset uint8_t ErrorSt = IDIER_NOPE; STMReset(); - IDIBUS_ResponseProtectedWrite(farg, NULL, 1, ErrorSt); + IDIBUS_ResponseProtectedWrite(farg, NULL, 0, ErrorSt); } default : { IDIBUS_ResponseProtectedWrite(farg, NULL, 0, IDIERSLV_UNSUPPORTED_FUNC_NUM); } diff --git a/STM/.settings/language.settings.xml b/STM/.settings/language.settings.xml index e756a1b..32c2213 100644 --- a/STM/.settings/language.settings.xml +++ b/STM/.settings/language.settings.xml @@ -5,7 +5,7 @@ - + @@ -16,7 +16,7 @@ - +