cppcheck fixes

This commit is contained in:
iceman1001 committed 2022-01-06 20:49:35 +01:00
1 parent 60491c4f16
commit 0b4d584dd7
6 files changed
+12 -8

No files matched your search

+1 -1
View File
@@ -103,7 +103,7 @@ static void print_st25ta_system_info(uint8_t *d, uint8_t n) {
*/
}
static uint16_t get_sw(uint8_t *d, uint8_t n) {
static uint16_t get_sw(const uint8_t *d, uint8_t n) {
if (n < 2)
return 0;