mirror of
https://github.com/Next-Flip/Momentum-Firmware.git
synced 2026-04-24 03:29:57 -07:00
Format for toolchain 37, update changelog
This commit is contained in:
@@ -14,11 +14,11 @@ def padded_hex(i, l):
|
||||
return (
|
||||
"0x" + hex_result
|
||||
if num_hex_chars == given_len
|
||||
else "?" * given_len
|
||||
if num_hex_chars > given_len
|
||||
else "0x" + extra_zeros + hex_result
|
||||
if num_hex_chars < given_len
|
||||
else None
|
||||
else (
|
||||
"?" * given_len
|
||||
if num_hex_chars > given_len
|
||||
else "0x" + extra_zeros + hex_result if num_hex_chars < given_len else None
|
||||
)
|
||||
)
|
||||
|
||||
|
||||
|
||||
@@ -14,11 +14,11 @@ def padded_hex(i, l):
|
||||
return (
|
||||
"0x" + hex_result
|
||||
if num_hex_chars == given_len
|
||||
else "?" * given_len
|
||||
if num_hex_chars > given_len
|
||||
else "0x" + extra_zeros + hex_result
|
||||
if num_hex_chars < given_len
|
||||
else None
|
||||
else (
|
||||
"?" * given_len
|
||||
if num_hex_chars > given_len
|
||||
else "0x" + extra_zeros + hex_result if num_hex_chars < given_len else None
|
||||
)
|
||||
)
|
||||
|
||||
|
||||
|
||||
@@ -14,11 +14,11 @@ def padded_hex(i, l):
|
||||
return (
|
||||
"0x" + hex_result
|
||||
if num_hex_chars == given_len
|
||||
else "?" * given_len
|
||||
if num_hex_chars > given_len
|
||||
else "0x" + extra_zeros + hex_result
|
||||
if num_hex_chars < given_len
|
||||
else None
|
||||
else (
|
||||
"?" * given_len
|
||||
if num_hex_chars > given_len
|
||||
else "0x" + extra_zeros + hex_result if num_hex_chars < given_len else None
|
||||
)
|
||||
)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user