modbus
modbus copied to clipboard
Very simple modbus for STM32 HAL FreeRTOS
https://github.com/kiltum/modbus/blob/9fe319ef56a04e10bccb9b9375ec3e946b445179/modbus.c#L67 ```C osThreadDef(ModBusTask,ModBusTask , osPriorityNormal, 0,128); ``` should be replaced with the following: ```C osThreadDef(ModBusTask, osPriorityNormal, 0,128); ```
`osThreadDef(ModBusTask, ModBusTask, osPriorityNormal, 0, 128);` throws a too many argumentes Error i fixed it to : `osThreadDef(ModBusTask, osPriorityNormal, 0, 128);` was the function updated by freeRTOS?
@kiltum Can we implement MODBUS master using this library?