public boolean parse_line(String line) throws NumberFormatException {
if (line.startsWith("ADXL375 value")) {
public boolean parse_line(String line) throws NumberFormatException {
if (line.startsWith("ADXL375 value")) {
String[] items = line.split("\\s+");
if (axis == AltosLib.MISSING)
throw new NumberFormatException("No ADXL375 axis specified");
if (items.length >= 3) {
accel = Integer.parseInt(items[2 + axis]);
String[] items = line.split("\\s+");
if (axis == AltosLib.MISSING)
throw new NumberFormatException("No ADXL375 axis specified");
if (items.length >= 3) {
accel = Integer.parseInt(items[2 + axis]);