refactor(serial_port_wrapper): 重构串口通讯逻辑
- 新增 start_timer 方法,用于启动定时器
- 优化数据接收流程,移除不必要的打印语句
- 通过定时器控制数据读取频率,提高代码可维护性
1 parent caca8d1 commit a7d5967211d3f53c3814d1831a342a9308710eac
pengxianhong authored on 6 Mar
Showing 2 changed files
View
src/serial_port_wrapper.cpp
View
src/serial_port_wrapper.hpp