Skip to content

Commit

Permalink
fix julia for playback and streaming boards (#659)
Browse files Browse the repository at this point in the history
* force user dir if jna temp dir is not set

Signed-off-by: Andrey Parfenov <a1994ndrey@gmail.com>
  • Loading branch information
Andrey1994 committed Aug 1, 2023
1 parent 968f420 commit 7b23b19
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion julia_package/brainflow/src/board_shim.jl
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ struct BoardShim
function BoardShim(id::Integer, params::BrainFlowInputParams)
master_id = id
if id == Integer(STREAMING_BOARD) || id == Integer(PLAYBACK_FILE_BOARD)
master_id = params.master_board
master_id = Integer(params.master_board)
end
new(master_id, id, JSON.json(params))
end
Expand Down

0 comments on commit 7b23b19

Please sign in to comment.