diff --git a/driver-ds3231/src/main/java/com/leinardi/android/things/driver/ds3231/Ds3231.java b/driver-ds3231/src/main/java/com/leinardi/android/things/driver/ds3231/Ds3231.java index ac657fe..64d89f4 100644 --- a/driver-ds3231/src/main/java/com/leinardi/android/things/driver/ds3231/Ds3231.java +++ b/driver-ds3231/src/main/java/com/leinardi/android/things/driver/ds3231/Ds3231.java @@ -435,8 +435,9 @@ public boolean isSquareWaveEnabled() throws IOException { *
* It is set to false when power is first applied. * - * @param enabled When set to true with {@link #isInterruptControlEnable()} equals false and V CC < V PF , it - * enables the square wave. When false, the INT/SQW pin goes high impedance when V CC < V PF. + * @param enabled When set to true with {@link #isInterruptControlEnable()} equals false and V CC lower than V + * PFm, it enables the square wave. When false, the INT/SQW pin goes high impedance when V CC is + * lower than V PF. * @throws IOException */ public void setSquareWave(boolean enabled) throws IOException { diff --git a/driver-hcsr04/src/main/java/com/leinardi/android/things/driver/hcsr04/Hcsr04.java b/driver-hcsr04/src/main/java/com/leinardi/android/things/driver/hcsr04/Hcsr04.java index 8309096..fb00ccc 100644 --- a/driver-hcsr04/src/main/java/com/leinardi/android/things/driver/hcsr04/Hcsr04.java +++ b/driver-hcsr04/src/main/java/com/leinardi/android/things/driver/hcsr04/Hcsr04.java @@ -145,8 +145,6 @@ public float readDistance() { /** * Close the driver and the underlying device. - * - * @throws IOException */ @Override public void close() { diff --git a/driver-sh1106/src/main/java/com/leinardi/android/things/driver/sh1106/BitmapHelper.java b/driver-sh1106/src/main/java/com/leinardi/android/things/driver/sh1106/BitmapHelper.java index 9e2c78e..48fb507 100644 --- a/driver-sh1106/src/main/java/com/leinardi/android/things/driver/sh1106/BitmapHelper.java +++ b/driver-sh1106/src/main/java/com/leinardi/android/things/driver/sh1106/BitmapHelper.java @@ -74,7 +74,6 @@ public static void setBmpData(Sh1106 mScreen, int xOffset, int yOffset, Bitmap b * @param offset The byte offset to start writing screen bitmap data at. * @param bmp The bitmap image that you want to convert to screen data. * @param drawWhite Set to true to draw white pixels, false to draw pixels based on gradient. - * @return A byte array with pixel data for the SH1106. */ public static void bmpToBytes(byte[][] buffer, int offset, Bitmap bmp, boolean drawWhite) { int width = bmp.getWidth();