Skip to content

Commit

Permalink
fixing marker type (#220)
Browse files Browse the repository at this point in the history
* fix marker type

Signed-off-by: Andrey Parfenov <[email protected]>
  • Loading branch information
Andrey1994 authored Feb 7, 2021
1 parent 366ad0d commit fc424b5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/board_controller/board.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ void Board::push_package (double *package)
}
else
{
int marker = marker_queue.at (0);
double marker = marker_queue.at (0);
package[marker_channel] = marker;
marker_queue.pop_front ();
}
Expand Down
2 changes: 1 addition & 1 deletion src/board_controller/inc/board.h
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ class Board
Streamer *streamer;
json board_descr;
SpinLock lock;
std::deque<int> marker_queue;
std::deque<double> marker_queue;

int prepare_for_acquisition (int buffer_size, char *streamer_params);
void free_packages ();
Expand Down

0 comments on commit fc424b5

Please sign in to comment.