Skip to content

Commit

Permalink
Move GanglionDevice class outside GUIHelper class
Browse files Browse the repository at this point in the history
  • Loading branch information
philippitts committed Sep 22, 2023
1 parent f444bfe commit 2b2fe7c
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,6 @@
import com.sun.jna.Native;

public class GUIHelper {
public class GanglionDevice {
public int firmware_version;
public String identifier;
public String mac_address;
}

private interface DllInterface extends Library {
int scan_for_ganglions(String serial_port, int timeout_sec, byte[] output, int[] output_len);
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
package openbci_gui_helpers;

public class GanglionDevice {
public int firmware_version;
public String identifier;
public String mac_address;
}
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

import openbci_gui_helpers.GUIHelper;
import openbci_gui_helpers.GanglionError;
import openbci_gui_helpers.GUIHelper.GanglionDevice;
import openbci_gui_helpers.GanglionDevice;

public class TestDiscovery {

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package openbci_gui_helpers.examples;

import openbci_gui_helpers.GUIHelper;
import openbci_gui_helpers.GUIHelper.GanglionDevice;
import openbci_gui_helpers.GanglionDevice;
import openbci_gui_helpers.GanglionError;

public class TestNativeDiscovery {
Expand Down

0 comments on commit 2b2fe7c

Please sign in to comment.