Skip to content

Commit

Permalink
Merge remote-tracking branch 'openbci/master'
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrey1994 committed Feb 5, 2020
2 parents af13fee + ffd55b6 commit bd850c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/board_controller/openbci/ganglion_bglib/helpers.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ namespace GanglionLib
struct ble_header hdr;
int r;

r = uart_rx (sizeof (hdr), (unsigned char *)&hdr, UART_TIMEOUT);
r = uart_rx (sizeof (hdr), (unsigned char *)&hdr, timeout_ms);
if (!r)
{
return -1; // timeout
Expand Down

0 comments on commit bd850c3

Please sign in to comment.