From 04196347bb4120d227492fcd8373032cce8e757f Mon Sep 17 00:00:00 2001 From: "Hans P. Reiser" Date: Sun, 28 Apr 2019 16:07:47 +0200 Subject: [PATCH] code cleanup --- libraries/SondeLib/DFM.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/SondeLib/DFM.h b/libraries/SondeLib/DFM.h index 902555f..1b6c937 100644 --- a/libraries/SondeLib/DFM.h +++ b/libraries/SondeLib/DFM.h @@ -27,7 +27,7 @@ private: uint32_t bits2val(const uint8_t *bits, int len); int check(uint8_t code[8]); int hamming(uint8_t *ham, int L, uint8_t *sym); - void printRaw(char *prefix, int len, int ret, uint8_t* data); + void printRaw(const char *prefix, int len, int ret, const uint8_t* data); int decodeCFG(uint8_t *cfg); int decodeDAT(uint8_t *dat); int bitsToBytes(uint8_t *bits, uint8_t *bytes, int len);