Skip to content

Commit

Permalink
Merge pull request #590 from NordicSemiconductor/improvement/wizard
Browse files Browse the repository at this point in the history
Reset counter for app keys in debug keys
  • Loading branch information
philips77 authored Nov 12, 2023
2 parents 45e94cc + cd5ec2e commit af3f19a
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,7 @@ extension SettingsViewController: WizardDelegate {
index += 1
_ = try? network.add(networkKey: key, name: "Network Key \(i + 1)")
}
index = 1
for i in 0..<applicationKeys {
guard index < UInt8.max else { break }
let key = fixed ? Data(repeating: 0, count: 15) + index : Data.random128BitKey()
Expand Down

0 comments on commit af3f19a

Please sign in to comment.