Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/ClusterM/clunet.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'clunet.c')
-rw-r--r--clunet.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/clunet.c b/clunet.c
index 73aa26f..b5b7b50 100644
--- a/clunet.c
+++ b/clunet.c
@@ -215,8 +215,6 @@ clunet_send(const uint8_t address, const uint8_t prio, const uint8_t command, co
CLUNET_SEND_0;
/* Заполняем переменные */
- if (clunetSendingState != CLUNET_SENDING_STATE_PREINIT)
- clunetSendingState = CLUNET_SENDING_STATE_IDLE;
clunetCurrentPrio = (!prio) ? 1 : (prio > 4) ? 4 : prio; // Ограничим приоритет диапазоном (1 ; 4)
dataToSend[CLUNET_OFFSET_SRC_ADDRESS] = CLUNET_DEVICE_ID;
dataToSend[CLUNET_OFFSET_DST_ADDRESS] = address;