diff options
Diffstat (limited to 'tools')
| -rwxr-xr-x | tools/themer.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/themer.py b/tools/themer.py index 622142f..9eee132 100755 --- a/tools/themer.py +++ b/tools/themer.py @@ -25,7 +25,7 @@ class DefaultTheme(): def serialize(self) -> bytes: """Serializes the theme for use in wasp-os""" def split_bytes(x: int) -> Tuple[int, int]: - return (x & 0xFF, (x >> 8) & 0xFF) + return ((x >> 8) & 0xFF, x & 0xFF) theme_bytes = bytes([ *split_bytes(self.BLE_COLOR), *split_bytes(self.SCROLL_INDICATOR_COLOR), |
