From 6c3f1b14c94893fe6726be17d4dcdc6b4cef4045 Mon Sep 17 00:00:00 2001
From: Arsen Musayelyan <moussaelianarsen@gmail.com>
Date: Sat, 23 Apr 2022 20:08:49 -0700
Subject: [PATCH] Clarify DFU debug logs

---
 dfu.go | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dfu.go b/dfu.go
index de27bdd..1ed86ca 100644
--- a/dfu.go
+++ b/dfu.go
@@ -313,7 +313,7 @@ func (dfu *DFU) Reset() {
 // on waits for the given command to be received on
 // the control point characteristic, then runs the callback.
 func (dfu *DFU) on(cmd []byte, onCmdCb func(data []byte) error) error {
-	log.Debug().Hex("expecting", cmd).Msg("Waiting for command")
+	log.Debug().Hex("expecting", cmd).Msg("Waiting for DFU command")
 	// Use for loop in case of invalid property
 	for {
 		select {
@@ -328,7 +328,7 @@ func (dfu *DFU) on(cmd []byte, onCmdCb func(data []byte) error) error {
 			log.Debug().
 				Hex("expecting", cmd).
 				Hex("received", data).
-				Msg("Received command")
+				Msg("Received DFU command")
 			// If command has prefix of given command
 			if bytes.HasPrefix(data, cmd) {
 				// Return callback with data after command