mirror of
https://github.com/qmk/qmk_firmware.git
synced 2025-03-01 02:33:53 +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