mirror of
https://github.com/qmk/qmk_firmware.git
synced 2024-12-03 16:35:10 +00:00
Tidy up python client - add file
This commit is contained in:
parent
ca8af27673
commit
5c21830da2
4
lib/python/xap_client/util.py
Normal file
4
lib/python/xap_client/util.py
Normal file
@ -0,0 +1,4 @@
|
||||
def u32toBCD(val): # noqa: N802
|
||||
"""Create BCD string
|
||||
"""
|
||||
return f'{val>>24}.{val>>16 & 0xFF}.{val & 0xFFFF}'
|
Loading…
Reference in New Issue
Block a user