fix build docs, fix extended types enable option v1

This commit is contained in:
Alex Lisitsyn
2024-09-20 21:14:34 +08:00
parent ea295ac957
commit 4938cbee31
7 changed files with 57 additions and 42 deletions
@@ -130,7 +130,7 @@ typedef union {
uint32_t baudrate; /*!< Modbus baudrate */
uart_parity_t parity; /*!< Modbus UART parity settings */
uint16_t dummy_port; /*!< Dummy field, unused */
};
}; /*!< Modbus options version 1 */
// TCP/UDP communication structure
struct {
mb_mode_type_t ip_mode; /*!< Modbus communication mode */
@@ -139,7 +139,7 @@ typedef union {
mb_tcp_addr_type_t ip_addr_type; /*!< Modbus address type */
void* ip_addr; /*!< Modbus address table for connection */
void* ip_netif_ptr; /*!< Modbus network interface */
};
}; /*!< Modbus options version 2 */
} mb_communication_info_t;
/**
@@ -100,12 +100,12 @@ typedef union {
int opt1; /*!< Parameter option1 */
int opt2; /*!< Parameter option2 */
int opt3; /*!< Parameter option3 */
};
}; /*!< Parameter options version 1 */
struct {
int min; /*!< Parameter minimum value */
int max; /*!< Parameter maximum value */
int step; /*!< Step of parameter change tracking */
};
}; /*!< Parameter options version 2 */
} mb_parameter_opt_t;
/**