Skip to content

Commit d9d776b

Browse files
committed
fix test failing (Debug call has possible formatting directive %d)
1 parent b31c26a commit d9d776b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

flasher/winc.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -451,7 +451,7 @@ func (f *WincFlasher) erase(address uint32, length uint32) error {
451451
return err
452452
}
453453

454-
logrus.Debug("Erasing %d bytes from address 0x%X\n", length, address)
454+
logrus.Debugf("Erasing %d bytes from address 0x%X\n", length, address)
455455

456456
// wait acknowledge
457457
ack := make([]byte, 2)

0 commit comments

Comments
 (0)