Skip to content

Commit

Permalink
Fixed Javadoc errors
Browse files Browse the repository at this point in the history
  • Loading branch information
leinardi committed May 10, 2018
1 parent 015a8e6 commit a2f2ab4
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -435,8 +435,9 @@ public boolean isSquareWaveEnabled() throws IOException {
* <p>
* 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 {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -145,8 +145,6 @@ public float readDistance() {

/**
* Close the driver and the underlying device.
*
* @throws IOException
*/
@Override
public void close() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit a2f2ab4

Please sign in to comment.