From 224e2f68b21947e1fd3e4468233587b246a38c0f Mon Sep 17 00:00:00 2001 From: iceman1001 Date: Tue, 4 Jan 2022 07:36:31 +0100 Subject: [PATCH] cppcheck fix --- armsrc/Standalone/lf_nexid.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/armsrc/Standalone/lf_nexid.c b/armsrc/Standalone/lf_nexid.c index c921fb2bd..f255a79c9 100644 --- a/armsrc/Standalone/lf_nexid.c +++ b/armsrc/Standalone/lf_nexid.c @@ -109,7 +109,7 @@ static uint8_t nexwatch_checksum(uint8_t magic, uint32_t id, uint8_t parity) { static int nexwatch_scamble(NexWatchScramble_t action, uint32_t *id, uint32_t *scambled) { // 255 = Not used/Unknown other values are the bit offset in the ID/FC values - uint8_t hex_2_id [] = { + const uint8_t hex_2_id [] = { 31, 27, 23, 19, 15, 11, 7, 3, 30, 26, 22, 18, 14, 10, 6, 2, 29, 25, 21, 17, 13, 9, 5, 1,