Permalink
Browse files

buglabs-osgi: remove some system.out debugging messages.

  • Loading branch information...
1 parent 1bfc961 commit 5d507c37ae93137cfc0f2a1391c99814e40f79c4 @kgilmer kgilmer committed Oct 3, 2011
Showing with 4 additions and 4 deletions.
  1. +4 −4 com.buglabs.bug.module.gps/com/buglabs/bug/module/gps/GPSModlet.java
@@ -286,10 +286,10 @@ public boolean setModuleProperty(IModuleProperty property) {
} else if (property.getName().equals(PROPERTY_ANTENNA)) {
if (property.getValue().toString().equals(PROPERTY_ANTENNA_PASSIVE)) {
gpsControl.ioctl_BMI_GPS_PASSIVE_ANT();
- System.out.println("Passive");
+ logService.log(LogService.LOG_DEBUG, "Set antenna to passive.");
} else {
gpsControl.ioctl_BMI_GPS_ACTIVE_ANT();
- System.out.println("Active");
+ logService.log(LogService.LOG_DEBUG, "Set antenna to active.");
}
return true;
} else {
@@ -536,7 +536,7 @@ public int setActiveAntenna() throws IOException {
if (gpsControl != null) {
result = gpsControl.ioctl_BMI_GPS_ACTIVE_ANT();
- System.out.println("Result: "+result);
+ logService.log(LogService.LOG_DEBUG, "Result of call to gpsControl.ioctl_BMI_GPS_ACTIVE_ANT(): " + result);
}
if (result < 0) {
@@ -554,7 +554,7 @@ public int setPassiveAntenna() throws IOException {
if (gpsControl != null) {
result = gpsControl.ioctl_BMI_GPS_PASSIVE_ANT();
- System.out.println("Result: "+result);
+ logService.log(LogService.LOG_DEBUG, "Result of call to gpsControl.ioctl_BMI_GPS_PASSIVE_ANT(): " + result);
}
if (result < 0) {

0 comments on commit 5d507c3

Please sign in to comment.