cortexelf-v1: Make bit flipping array constant
[fw/altos] / src / cortexelf-v1 / ao_flip_bits.5c
index 26900893b330d74c24d1dc9540dda616034b1674..055d5299451aaac349fcf0e8d10343ffa60fffb9 100644 (file)
@@ -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));