From a7ecfe031ca828cc4621aadc1947bb87ef58f2ba Mon Sep 17 00:00:00 2001 From: kdotshine Date: Fri, 23 Jan 2026 02:45:37 +0300 Subject: [PATCH] Update. Com_dev_id now not constant --- modbus.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modbus.c b/modbus.c index d743ef1..ad3d018 100644 --- a/modbus.c +++ b/modbus.c @@ -22,7 +22,7 @@ static unsigned char timer_state = 0; static uint16_t dev_id = DEFAULT_DEVICE_MODBUS_ID; -const uint16_t com_dev_id = 247; +static uint16_t com_dev_id = 247; static void (*ModbusUartSendByte)(USART_TypeDef*, unsigned char); static void (*ModbusTimEnable)(TIM_TypeDef*);