From 89c8e0299504e66fc416a778055958cff467e008 Mon Sep 17 00:00:00 2001 From: Keith Packard Date: Mon, 3 Apr 2017 11:36:52 -0700 Subject: [PATCH] cortexelf-v1: Make bit flipping array constant Signed-off-by: Keith Packard --- src/cortexelf-v1/ao_flip_bits.5c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cortexelf-v1/ao_flip_bits.5c b/src/cortexelf-v1/ao_flip_bits.5c index 26900893..055d5299 100644 --- a/src/cortexelf-v1/ao_flip_bits.5c +++ b/src/cortexelf-v1/ao_flip_bits.5c @@ -9,7 +9,7 @@ int flip_bits(int a) return result; } -printf ("static uint8_t ao_flip_bits[256] = {\n"); +printf ("static const uint8_t ao_flip_bits[256] = {\n"); for (int i = 0; i < 256; i++) { printf (" 0x%02x,", flip_bits(i)); -- 2.30.2