Skip to content

Commit 12895de

Browse files
authored
Merge pull request #591 from bitcraze/rik/bootloader-dirty-version-string
Fix invalid PEP 440 version string from nRF51 bootloader dirty bit
2 parents e780010 + ff30e57 commit 12895de

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

cflib/bootloader/cloader.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@ def _update_info(self, target_id):
204204
if len(answer.data) > 23 and len(answer.data) > 26:
205205
code_state = ''
206206
if answer.data[24] & 0x80 != 0:
207-
code_state = '+'
207+
code_state = '+dev'
208208
answer.data[24] &= 0x7F
209209
major = struct.unpack('H', answer.data[23:25])[0]
210210
minor = answer.data[25]

0 commit comments

Comments
 (0)