Description length fixed

This commit is contained in:
Anton Mukhin
2023-11-27 12:11:03 +03:00
parent 89ced0fc11
commit c882ede6bd
2 changed files with 2 additions and 2 deletions

View File

@@ -6,7 +6,7 @@
#ifndef BOARD_LOGIC_H_
#define BOARD_LOGIC_H_
#define MODBUS_FIRMWARE_VERSION ( /*major*/ 10 + /*minor*/ 0 * 0x100)
#define MODBUS_FIRMWARE_VERSION ( /*major*/ 10 + /*minor*/ 1 * 0x100)
#define MODBUS_BOARD_TYPE (8) //Relay Module board ID
#define REL_MAIN_BIT (1u<<0)

View File

@@ -10,7 +10,7 @@
#include "modbus_logic.h"
#include "board_logic.h"
#define BOARD_DESC_LEN (23)
#define BOARD_DESC_LEN (16)
extern TIM_HandleTypeDef htim3;
static const char board_description[BOARD_DESC_LEN] = "RS485_Relay V1R1";