Name change

This commit is contained in:
Obe Van Lierde
2023-11-21 16:27:53 +01:00
parent 696df6c9e5
commit 407cc0f09d
3 changed files with 5 additions and 2 deletions

View File

@@ -29,6 +29,7 @@
#include "llfs.h"
#include "lcd_api.h"
#include "tftp.h"
#include "modbus_tcp.h"
/* USER CODE END Includes */

View File

@@ -1,6 +1,8 @@
#include "modbus-tcp.h"
#include <modbus_tcp.h>
#define MAX_REG 250
#define EXTENSION_LENGHT 4
char registers[MAX_REG];
@@ -9,7 +11,7 @@ static err_t modbus_incomming_data(void *arg, struct tcp_pcb *pcb, struct pbuf *
int j;
int len;
int lenght;
char extention[4];
char extention[EXTENSION_LENGHT];
char *pc;
char *textstring;
char text[200];