Skip to content

Commit e04a611

Browse files
committed
minor fixes for neuropawn board
Signed-off-by: Andrey Parfenov <a1994ndrey@gmail.com>
1 parent 75db782 commit e04a611

File tree

3 files changed

+4
-7
lines changed

3 files changed

+4
-7
lines changed

docs/SupportedBoards.rst

-4
Original file line numberDiff line numberDiff line change
@@ -1312,10 +1312,6 @@ NeuroPawn
13121312
Knight Board
13131313
~~~~~~~~~~~~~
13141314
1315-
.. image:: https://drive.google.com/file/d/192dUfIXKmOqcTIBr7PYJJ8VUdWCuzeIv/view?usp=sharing
1316-
:width: 400px
1317-
:height: 225px
1318-
13191315
Visit us `here <https://www.neuropawn.tech/>`_
13201316
13211317
To create such board you need to specify the following board ID and fields of BrainFlowInputParams object:

rust_package/brainflow/src/ffi/constants.rs

+3-2
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ impl BoardIds {
3232
pub const FIRST: BoardIds = BoardIds::PlaybackFileBoard;
3333
}
3434
impl BoardIds {
35-
pub const LAST: BoardIds = BoardIds::ExplorePlus32ChanBoard;
35+
pub const LAST: BoardIds = BoardIds::NeuropawnKnightBoard;
3636
}
3737
#[repr(i32)]
3838
#[derive(FromPrimitive, ToPrimitive, Debug, Copy, Clone, Hash, PartialEq, Eq)]
@@ -94,7 +94,8 @@ pub enum BoardIds {
9494
AavaaV3Board = 53,
9595
ExplorePlus8ChanBoard = 54,
9696
ExplorePlus32ChanBoard = 55,
97-
NeuroPawnKnightBoard = 57
97+
PieegBoard = 56,
98+
NeuropawnKnightBoard = 57,
9899
}
99100
#[repr(i32)]
100101
#[derive(FromPrimitive, ToPrimitive, Debug, Copy, Clone, Hash, PartialEq, Eq)]

src/utils/inc/brainflow_constants.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ enum class BoardIds : int
9191
NEUROPAWN_KNIGHT_BOARD = 57,
9292
// use it to iterate
9393
FIRST = PLAYBACK_FILE_BOARD,
94-
LAST = PIEEG_BOARD
94+
LAST = NEUROPAWN_KNIGHT_BOARD
9595
};
9696

9797
enum class IpProtocolTypes : int

0 commit comments

Comments
 (0)