Skip to content

Commit

Permalink
Fix bug when saving data to CSV
Browse files Browse the repository at this point in the history
  • Loading branch information
UmSenhorQualquer committed Jan 18, 2018
1 parent dbdbc61 commit b223ad2
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
Empty file modified docs/make.bat
100644 → 100755
Empty file.
2 changes: 1 addition & 1 deletion pybpod_rotaryencoder_module/module_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ def read_stream(self):
position = int.from_bytes( data_in_bytes[i:i+2], byteorder='little', signed=True)
evt_time = float(int.from_bytes( data_in_bytes[i+2:i+6], byteorder='little', signed=False))/1000.0
position_degrees = self.__pos_2_degrees(position)
data.append((evt_time, position_degrees))
data.append([evt_time, position_degrees])
return data


Expand Down

0 comments on commit b223ad2

Please sign in to comment.