Skip to content

Commit

Permalink
fix right wrist assignment in mibandservice.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
threepistons committed Sep 17, 2019
1 parent 386359f commit 21b2401
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
harbour-amazfish.pro.user
2 changes: 1 addition & 1 deletion daemon/src/services/mibandservice.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -360,7 +360,7 @@ void MiBandService::setWearLocation()
writeValue(UUID_CHARACTERISTIC_MIBAND_USER_SETTINGS, QByteArray(WEAR_LOCATION_LEFT_WRIST, 4));
break;
case 1:
writeValue(UUID_CHARACTERISTIC_MIBAND_USER_SETTINGS, QByteArray(WEAR_LOCATION_LEFT_WRIST, 4));
writeValue(UUID_CHARACTERISTIC_MIBAND_USER_SETTINGS, QByteArray(WEAR_LOCATION_RIGHT_WRIST, 4));
break;
}
}
Expand Down

0 comments on commit 21b2401

Please # to comment.