diff options
author | Amaury Pouly <amaury.pouly@gmail.com> | 2016-08-30 17:19:30 +1000 |
---|---|---|
committer | Amaury Pouly <amaury.pouly@gmail.com> | 2016-08-30 17:21:05 +1000 |
commit | cf82f208e3ece54fd38cb7c90b77ad91aa3a4c8c (patch) | |
tree | 5fe88d8fdaa9306a28b65a2dad042e0b6577816e /utils/nwztools/upgtools/misc.c | |
parent | de8950d63da5ce199a94e3f094a7e13da3eeca6c (diff) | |
download | rockbox-cf82f208e3ece54fd38cb7c90b77ad91aa3a4c8c.tar.gz rockbox-cf82f208e3ece54fd38cb7c90b77ad91aa3a4c8c.zip |
nwztools: cleanup the code
There was a lot of copy and paste, and the code was just crap. This commit tries
to clarify the code and also document the encryption procedure. Hopefully I didn't
break anything.
Change-Id: I257793010e7cf94f2b090b30bb8608359d3886e3
Diffstat (limited to 'utils/nwztools/upgtools/misc.c')
-rw-r--r-- | utils/nwztools/upgtools/misc.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/utils/nwztools/upgtools/misc.c b/utils/nwztools/upgtools/misc.c index 108235e7fd..00832cd585 100644 --- a/utils/nwztools/upgtools/misc.c +++ b/utils/nwztools/upgtools/misc.c | |||
@@ -31,6 +31,7 @@ char RED[] = { 0x1b, 0x5b, 0x31, 0x3b, '3', '1', 0x6d, '\0' }; | |||
31 | char GREEN[] = { 0x1b, 0x5b, 0x31, 0x3b, '3', '2', 0x6d, '\0' }; | 31 | char GREEN[] = { 0x1b, 0x5b, 0x31, 0x3b, '3', '2', 0x6d, '\0' }; |
32 | char YELLOW[] = { 0x1b, 0x5b, 0x31, 0x3b, '3', '3', 0x6d, '\0' }; | 32 | char YELLOW[] = { 0x1b, 0x5b, 0x31, 0x3b, '3', '3', 0x6d, '\0' }; |
33 | char BLUE[] = { 0x1b, 0x5b, 0x31, 0x3b, '3', '4', 0x6d, '\0' }; | 33 | char BLUE[] = { 0x1b, 0x5b, 0x31, 0x3b, '3', '4', 0x6d, '\0' }; |
34 | char WHITE[] = { 0x1b, 0x5b, 0x31, 0x3b, '3', '7', 0x6d, '\0' }; | ||
34 | 35 | ||
35 | static bool g_color_enable = true; | 36 | static bool g_color_enable = true; |
36 | 37 | ||