| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -141,7 +141,7 @@ public static String[] list() { | |||
| 141 | 141 | * Sets the brightness | |
| 142 | 142 | * @param bright 0.0 (off) to 1.0 (maximum) | |
| 143 | 143 | */ | |
| 144 | - public void set(float bright) { | ||
| 144 | + public void setBrightness(float bright) { | ||
| 145 | 145 | String fn = "/sys/class/leds/" + dev + "/brightness"; | |
| 146 | 146 | if (bright < 0.0 || 1.0 < bright) { | |
| 147 | 147 | System.err.println("Brightness must be between 0.0 and 1.0."); | |
| Back | FazBrowse Home | New Git URL |
0 commit comments