Skip to content

Commit

Permalink
修改检测传感器是否存在失败的BUG
Browse files Browse the repository at this point in the history
  • Loading branch information
hanq committed May 12, 2014
1 parent 8ae7ad5 commit 3b2c1f8
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 0 deletions.
Binary file modified Code/bin/classes/net/ldmf/sensorsdk/SensorSDK.class
Binary file not shown.
Binary file modified Code/bin/sensorsdk.jar
Binary file not shown.
1 change: 1 addition & 0 deletions Code/src/net/ldmf/sensorsdk/SensorSDK.java
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,7 @@ public boolean isSensorExist(int type) {
boolean exist = false;
for (Sensor s : allSensors) {
if (s.getType() == type) {
exist = true;
break;
}
}
Expand Down

0 comments on commit 3b2c1f8

Please sign in to comment.