mirror of
https://gitea.ecohim.ru:3000/RS485_Relay/RS485_Relay2_fw.git
synced 2025-08-06 16:07:17 +03:00
Description length fixed
This commit is contained in:
@@ -6,7 +6,7 @@
|
|||||||
#ifndef BOARD_LOGIC_H_
|
#ifndef BOARD_LOGIC_H_
|
||||||
#define 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 MODBUS_BOARD_TYPE (8) //Relay Module board ID
|
||||||
|
|
||||||
#define REL_MAIN_BIT (1u<<0)
|
#define REL_MAIN_BIT (1u<<0)
|
||||||
|
@@ -10,7 +10,7 @@
|
|||||||
#include "modbus_logic.h"
|
#include "modbus_logic.h"
|
||||||
#include "board_logic.h"
|
#include "board_logic.h"
|
||||||
|
|
||||||
#define BOARD_DESC_LEN (23)
|
#define BOARD_DESC_LEN (16)
|
||||||
|
|
||||||
extern TIM_HandleTypeDef htim3;
|
extern TIM_HandleTypeDef htim3;
|
||||||
static const char board_description[BOARD_DESC_LEN] = "RS485_Relay V1R1";
|
static const char board_description[BOARD_DESC_LEN] = "RS485_Relay V1R1";
|
||||||
|
Reference in New Issue
Block a user