MCPcopy Create free account
hub / github.com/brainflow-dev/brainflow / uart_close

Function uart_close

src/board_controller/muse/muse_bglib/uart.cpp:184–191  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

182}
183
184void uart_close ()
185{
186 if (serial_handle != INVALID_HANDLE_VALUE)
187 {
188 CloseHandle (serial_handle);
189 serial_handle = INVALID_HANDLE_VALUE;
190 }
191}
192
193int uart_tx (int len, unsigned char *data)
194{

Callers 2

close_deviceMethod · 0.70
reset_ble_devMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected