Skip to content

Commit

Permalink
minor fixes for neuropawn board
Browse files Browse the repository at this point in the history
Signed-off-by: Andrey Parfenov <[email protected]>
  • Loading branch information
Andrey1994 committed Sep 30, 2024
1 parent 75db782 commit e04a611
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 7 deletions.
4 changes: 0 additions & 4 deletions docs/SupportedBoards.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1312,10 +1312,6 @@ NeuroPawn
Knight Board
~~~~~~~~~~~~~
.. image:: https://drive.google.com/file/d/192dUfIXKmOqcTIBr7PYJJ8VUdWCuzeIv/view?usp=sharing
:width: 400px
:height: 225px
Visit us `here <https://www.neuropawn.tech/>`_
To create such board you need to specify the following board ID and fields of BrainFlowInputParams object:
Expand Down
5 changes: 3 additions & 2 deletions rust_package/brainflow/src/ffi/constants.rs
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ impl BoardIds {
pub const FIRST: BoardIds = BoardIds::PlaybackFileBoard;
}
impl BoardIds {
pub const LAST: BoardIds = BoardIds::ExplorePlus32ChanBoard;
pub const LAST: BoardIds = BoardIds::NeuropawnKnightBoard;
}
#[repr(i32)]
#[derive(FromPrimitive, ToPrimitive, Debug, Copy, Clone, Hash, PartialEq, Eq)]
Expand Down Expand Up @@ -94,7 +94,8 @@ pub enum BoardIds {
AavaaV3Board = 53,
ExplorePlus8ChanBoard = 54,
ExplorePlus32ChanBoard = 55,
NeuroPawnKnightBoard = 57
PieegBoard = 56,
NeuropawnKnightBoard = 57,
}
#[repr(i32)]
#[derive(FromPrimitive, ToPrimitive, Debug, Copy, Clone, Hash, PartialEq, Eq)]
Expand Down
2 changes: 1 addition & 1 deletion src/utils/inc/brainflow_constants.h
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ enum class BoardIds : int
NEUROPAWN_KNIGHT_BOARD = 57,
// use it to iterate
FIRST = PLAYBACK_FILE_BOARD,
LAST = PIEEG_BOARD
LAST = NEUROPAWN_KNIGHT_BOARD
};

enum class IpProtocolTypes : int
Expand Down

0 comments on commit e04a611

Please sign in to comment.