Skip to content

Commit

Permalink
no message
Browse files Browse the repository at this point in the history
  • Loading branch information
murataka committed Apr 4, 2018
1 parent 837d309 commit a43ec07
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
3 changes: 1 addition & 2 deletions watchX/src/batteryui.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,8 @@
#include "resources.h"
void drawBattery(){


if(digitalRead(CHARGE_PIN)==LOW)


draw_bitmap( 0, 56, watchXui+(unsigned)(((batterylevel-500)/40)*16), 16, 8, false, 0);

}
4 changes: 2 additions & 2 deletions watchX/src/watchX.ino
Original file line number Diff line number Diff line change
Expand Up @@ -332,7 +332,7 @@ setDateTime();
//goto
//functions[uiFunc]=drawWatchFace;
// functions[ bleFunc] =handleBle;
gotoMenu();
gotoWatchFace();
// gotoDiagnostic(true);
// ble_connect(); // TODO: bluetoot enable / disable
updateThings();
Expand Down Expand Up @@ -416,7 +416,7 @@ if(DEVICESTATE&B00000111){
}


//buttonFX(500|((DEVICESTATE&B00000111)*300));
buttonFX(500|((DEVICESTATE&B00000111)*300));

}

Expand Down

0 comments on commit a43ec07

Please sign in to comment.