From cf82f208e3ece54fd38cb7c90b77ad91aa3a4c8c Mon Sep 17 00:00:00 2001 From: Amaury Pouly Date: Tue, 30 Aug 2016 17:19:30 +1000 Subject: 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 --- utils/nwztools/upgtools/misc.c | 1 + 1 file changed, 1 insertion(+) (limited to 'utils/nwztools/upgtools/misc.c') 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' }; char GREEN[] = { 0x1b, 0x5b, 0x31, 0x3b, '3', '2', 0x6d, '\0' }; char YELLOW[] = { 0x1b, 0x5b, 0x31, 0x3b, '3', '3', 0x6d, '\0' }; char BLUE[] = { 0x1b, 0x5b, 0x31, 0x3b, '3', '4', 0x6d, '\0' }; +char WHITE[] = { 0x1b, 0x5b, 0x31, 0x3b, '3', '7', 0x6d, '\0' }; static bool g_color_enable = true; -- cgit v1.2.3