alejoseb / Modbus-STM32-HAL-FreeRTOS

Modbus TCP and RTU, Master and Slave for STM32 using Cube HAL and FreeRTOS
GNU Lesser General Public License v2.1
539 stars 183 forks source link

to fix describle mHandlers[] variable issues #37

Closed KunYi closed 2 years ago

KunYi commented 2 years ago

we should to add 'extern' for mHandlers[] in header files to keep only instance of mHandlers[] in Modbus.c