Skip to content

Commit

Permalink
Allow messages to start with
Browse files Browse the repository at this point in the history
  • Loading branch information
Douglasdc3 committed Oct 16, 2022
1 parent 0333236 commit 9bc8047
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/main/java/aero/t2s/modes/ModeSHandler.java
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,6 @@ protected short[] toData(final String input) throws EmptyMessageException, ModeA
// example mode A/C: *21D2; *0200; *0101;
throw new ModeAcMessageException();
}
if (input.startsWith("*0000")) {
throw new EmptyMessageException();
}

String hex = input.replace("*", "").replace(";", "");

Expand Down

0 comments on commit 9bc8047

Please sign in to comment.