Skip to content

Commit 28953ed

Browse files
committed
Adjusting the sample app
1 parent 8eb4968 commit 28953ed

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Example/iOSDFULibrary/View Controllers/DFUViewController.swift

+2-2
Original file line numberDiff line numberDiff line change
@@ -287,8 +287,8 @@ class DFUViewController: UIViewController, CBCentralManagerDelegate, DFUServiceD
287287
stopProcessButton.isEnabled = true
288288
}
289289

290-
dfuStatusLabel.text = state.description()
291-
print("State changed to: \(state.description())")
290+
dfuStatusLabel.text = state.description
291+
print("State changed to: \(state)")
292292

293293
// Forget the controller when DFU is done
294294
if state == .completed {

0 commit comments

Comments
 (0)