Skip to content

Commit

Permalink
added 0.9a version check to getGrblPositionCapabilities
Browse files Browse the repository at this point in the history
To make live coordinates work with grbl edge 0.9a work again.
  • Loading branch information
Christian Moll committed Jan 27, 2013
1 parent da1eb88 commit 3a4824d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
4 changes: 1 addition & 3 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,5 @@
/nbproject/private
/release/
.DS_Store

librxtxSerial.jnilib

test_files/grbl_v0_8c_atmega328p_16mhz_9600_build20121216.hex
test_files/grbl_*.hex.txt
3 changes: 2 additions & 1 deletion src/com/willwinder/universalgcodesender/GrblUtils.java
Original file line number Diff line number Diff line change
Expand Up @@ -84,8 +84,9 @@ static Boolean isRealTimeCapable(final double version) {
static CommUtils.Capabilities getGrblPositionCapabilities(final double version, final String letter) {
if (version == 0.8 && letter.equals("c")) {
return CommUtils.Capabilities.POSITION_C;
} else if (version == 0.9 && letter.equals("a")) {
return CommUtils.Capabilities.POSITION_C;
}

return null;
}

Expand Down

0 comments on commit 3a4824d

Please sign in to comment.