Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

sdk: refresh ILCDModuleControl service from API code into the

simulator.  Most methods have been removed.  Fixes pivotal
issue "story id" 16474489.
  • Loading branch information...
commit 5d48bd5009647c6e7cd2cdfe22cb7567242f712e 1 parent 9f9f0eb
Ken Gilmer kgilmer authored
19 com.buglabs.bug.simulator/com/buglabs/bug/module/lcd/LCDModlet.java
View
@@ -218,21 +218,6 @@ public Frame getFrame() {
return frame;
}
- public int disable() throws IOException {
- // TODO Auto-generated method stub
- return 0;
- }
-
- public int enable() throws IOException {
- // TODO Auto-generated method stub
- return 0;
- }
-
- public int getStatus() throws IOException {
- // TODO Auto-generated method stub
- return 0;
- }
-
public int setBackLight(int val) throws IOException {
if(val < 0 || val > 7){
logService.log(LogService.LOG_ERROR, "Illegal backlight intensity value. Range is 0-7");
@@ -274,10 +259,6 @@ public int LEDRedOn() throws IOException {
return setLEDRed(true);
}
- public int setBlackLight(int val) throws IOException {
- return setBackLight(val);
- }
-
public int resume() throws IOException {
throw new IOException("LCDModlet resume call is not implemented for Virtual BUG");
}
24 com.buglabs.bug.simulator/com/buglabs/bug/module/lcd/pub/ILCDModuleControl.java
View
@@ -32,7 +32,7 @@
import com.buglabs.bug.dragonfly.module.IModuleControl;
/**
- * The interface that controls functions of the LCD module.
+ * The interface that controls functions of the LCD module (BUG 2.0).
*/
public interface ILCDModuleControl extends IModuleControl {
@@ -41,24 +41,6 @@
* Set's the intensity of the backlight 0-7.
*
*/
- public int setBackLight(int val) throws IOException; // Set IOX backlight
- // bits [2:0]
-
- /**
- * @param val
- * Set's the intensity of the backlight 0-7.
- * @deprecated use setBackLight.
- */
- public int setBlackLight(int val) throws IOException; // Set IOX backlight
- // bits [2:0]
-
- /**
- *
- * @return The stat of IOX. The 3 LSBs reprersent the state of the
- * backlight.
- */
-
- public int disable() throws IOException; // Power down module
-
- public int enable() throws IOException; // Power up module
+ public int setBackLight(int val) throws IOException; // Set IOX backlight
}
+
Please sign in to comment.
Something went wrong with that request. Please try again.