Skip to content

Commit ff30e57

Browse files
committed
Rename bootloader dirty bit suffix from "+dirty" to "+dev"
The bootloader's VERSION_DIRTY flag doesn't only mean uncommitted changes; it's set for any non-release build, including commits ahead of the latest tag or release candidate tags. "+dev" better reflects that.
1 parent a4d1906 commit ff30e57

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 = '+dirty'
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)