RT-Thread-packages / freemodbus

A Modbus ASCII/RTU and TCP implementation
Other
227 stars 101 forks source link

HARDFAULT #25

Closed ww29613025 closed 10 months ago

ww29613025 commented 1 year ago

bug: Handle UART IRQ after eMBRTUInit->xMBPortSerialInit->rt_device_open->rt_device_set_rx_indicate and before xMBPortTimersInit, will cause HARDFAULT! Because vMBPortTimersEnable->rt_timer_start(&timer), but timer not init!

supperthomas commented 1 year ago

https://github.com/RT-Thread/packages/issues/1618