Skip to content

Commit

Permalink
Fix comment
Browse files Browse the repository at this point in the history
  • Loading branch information
weliem committed Apr 16, 2022
1 parent bf12a2f commit 2874edc
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ internal class BluetoothHandler private constructor(context: Context) {
val batteryLevel = peripheral.readCharacteristic(BTS_SERVICE_UUID, BATTERY_LEVEL_CHARACTERISTIC_UUID).asUInt8()
Timber.i("Battery level: $batteryLevel")

// Turn on notifications for Current Time Service and write it if possible
// Write Current Time if possible
peripheral.getCharacteristic(CTS_SERVICE_UUID, CURRENT_TIME_CHARACTERISTIC_UUID)?.let {
// If it has the write property we write the current time
if (it.supportsWritingWithResponse()) {
Expand Down

0 comments on commit 2874edc

Please sign in to comment.