Skip to content

Commit

Permalink
widgets/node_properties: increase timeout to 5s for param erase opcode
Browse files Browse the repository at this point in the history
  • Loading branch information
bugobliterator authored and tridge committed Jul 15, 2023
1 parent a4603e1 commit 020e793
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dronecan_gui_tool/widgets/node_properties.py
Original file line number Diff line number Diff line change
Expand Up @@ -749,7 +749,7 @@ def callback(e):
self.window().show_message('Opcode execution response for %s: %s', opcode_str, e.response)

try:
self._node.request(request, self._target_node_id, callback, priority=REQUEST_PRIORITY)
self._node.request(request, self._target_node_id, callback, priority=REQUEST_PRIORITY, timeout=5000.0)
self.window().show_message('Param opcode %s requested', opcode_str)
except Exception as ex:
show_error('Node error', 'Could not send param opcode execution request', ex, self)
Expand Down

0 comments on commit 020e793

Please sign in to comment.