@@ -95,7 +95,7 @@ void SynchroniBoard::read_thread ()
95
95
while (keep_alive)
96
96
{
97
97
int res = func ((void *)&info);
98
- // int res = s_get_data((void *)&info);
98
+
99
99
if (res == (int )BrainFlowExitCodes::STATUS_OK)
100
100
{
101
101
if (state != (int )BrainFlowExitCodes::STATUS_OK)
@@ -153,7 +153,7 @@ int SynchroniBoard::config_board (std::string config, std::string &response)
153
153
memset (buffer, 0 , sizeof (buffer));
154
154
std::tuple<std::string, std::string, char *, int > info =
155
155
std::make_tuple (params.mac_address , config, buffer, BUFFER_SIZE);
156
- // int res = s_config_device((void*)&info);
156
+
157
157
int res = func ((void *)&info);
158
158
response = buffer;
159
159
return res;
@@ -175,7 +175,7 @@ int SynchroniBoard::call_init ()
175
175
176
176
std::tuple<int , struct BrainFlowInputParams , json> info =
177
177
std::make_tuple (board_id, params, board_descr);
178
- // int res = s_initialize((void *)&info);
178
+
179
179
int res = func ((void *)&info);
180
180
if (res != (int )BrainFlowExitCodes::STATUS_OK)
181
181
{
@@ -199,7 +199,7 @@ int SynchroniBoard::call_open ()
199
199
std::tuple<std::string> info =
200
200
std::make_tuple (params.mac_address );
201
201
return func ((void *)&info);
202
- // return s_open_device((void*)params.mac_address.c_str());
202
+
203
203
}
204
204
205
205
int SynchroniBoard::call_start ()
@@ -217,7 +217,7 @@ int SynchroniBoard::call_start ()
217
217
std::tuple<std::string> info =
218
218
std::make_tuple (params.mac_address );
219
219
return func ((void *)&info);
220
- // return s_start_stream((void*)params.mac_address.c_str());
220
+
221
221
}
222
222
223
223
int SynchroniBoard::call_stop ()
@@ -235,7 +235,7 @@ int SynchroniBoard::call_stop ()
235
235
std::tuple<std::string> info =
236
236
std::make_tuple (params.mac_address );
237
237
return func ((void *)&info);
238
- // return s_stop_stream((void*)params.mac_address.c_str());
238
+
239
239
}
240
240
241
241
int SynchroniBoard::call_close ()
@@ -253,7 +253,7 @@ int SynchroniBoard::call_close ()
253
253
std::tuple<std::string> info =
254
254
std::make_tuple (params.mac_address );
255
255
return func ((void *)&info);
256
- // return s_close_device((void*)params.mac_address.c_str());
256
+
257
257
}
258
258
259
259
int SynchroniBoard::call_release ()
@@ -271,10 +271,10 @@ int SynchroniBoard::call_release ()
271
271
std::tuple<std::string> info =
272
272
std::make_tuple (params.mac_address );
273
273
return func ((void *)&info);
274
- // return s_release((void*)params.mac_address.c_str());
274
+
275
275
}
276
276
277
- // /////////////////////////////////////////////////////////////////
277
+
278
278
279
279
280
280
int SynchroniBoard::prepare_session ()
0 commit comments