diff options
author | Keith Packard <keithp@keithp.com> | 2017-04-03 11:36:52 -0700 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2017-04-03 11:36:52 -0700 |
commit | 89c8e0299504e66fc416a778055958cff467e008 (patch) | |
tree | 6a7d4025e0fb9dcc94588fc444c89d1589122d27 | |
parent | 47004dfe8ee8c8b31085b066d3d0fd5142fd49da (diff) |
cortexelf-v1: Make bit flipping array constant
Signed-off-by: Keith Packard <keithp@keithp.com>
-rw-r--r-- | src/cortexelf-v1/ao_flip_bits.5c | 2 |
1 files changed, 1 insertions, 1 deletions
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)); |