dronecan / gui_tool

MIT License
27 stars 30 forks source link

fix number type error in esc pannel #57

Closed Huibean closed 2 months ago

Huibean commented 2 months ago

fix input float number that raised error

  File "****/gui_tool/dronecan_gui_tool/panels/esc_panel.py", line 97, in <lambda>
    lambda: self._bcast_timer.setInterval(self._bcast_interval.value() * 1e3))
TypeError: setInterval(self, int): argument 1 has unexpected type 'float'

WeChata0f67b9d8fc13449dfa1c968f8eb0339 WeChatf6f4d599032a95e12777186d78080723