Skip to content

Commit

Permalink
Fixed a typo with the trigger_event's event_data
Browse files Browse the repository at this point in the history
  • Loading branch information
MicBoucinha committed Nov 15, 2018
1 parent ec043bc commit b374096
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pybpodapi/bpod/bpod_base.py
Original file line number Diff line number Diff line change
Expand Up @@ -326,7 +326,7 @@ def run_state_machine(self, sma):
evt_name = tdata[1]
evt_data = int(tdata[2])
event_index = sma.hardware.channels.event_names.index(evt_name)
self.trigger_event(event_index, event_data)
self.trigger_event(event_index, evt_data)
#####################################################

# read commands from a net socket ###################
Expand Down

0 comments on commit b374096

Please sign in to comment.