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 12, 2020
2 parents bd850c3 + 59e5542 commit 2111f23
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 7 deletions.
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -344,6 +344,10 @@ compiled/
python/flowcat.egg-info/
.Rproj.user

# Docs build files
docs/_build/*
docs/Doxyfile*

# Build files
java-package/brainflow/target
java-package/brainflow/.classpath
Expand Down
6 changes: 6 additions & 0 deletions docs/_static/custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,10 @@

.wy-side-nav-search > div.version {
color: #000;
}

.wy-nav-content {
max-width: 100%;
position: relative;
overflow: auto;
}
9 changes: 2 additions & 7 deletions src/board_controller/openbci/ganglion_bglib/helpers.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -73,15 +73,10 @@ namespace GanglionLib
}

const struct ble_msg *msg = ble_get_msg_hdr (hdr);

if (!msg)
if (msg)
{
exit_code = (int)GanglionLib::GENERAL_ERROR;
delete[] data;
return 1;
msg->handler (data);
}

msg->handler (data);
delete[] data;
return 0;
}
Expand Down

0 comments on commit 2111f23

Please sign in to comment.