From 0840c0d5d1054bcb2c5931eee57b4a145f1cf0f2 Mon Sep 17 00:00:00 2001 From: tharexde Date: Thu, 18 Jun 2020 19:28:44 +0200 Subject: [PATCH] changed bits[8] to *bits --- armsrc/em4x50.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/armsrc/em4x50.c b/armsrc/em4x50.c index 692b17419..25e7caf4f 100644 --- a/armsrc/em4x50.c +++ b/armsrc/em4x50.c @@ -102,7 +102,7 @@ static void init_tag(void) { tag.sectors[i][j] = 0x00; } -static uint8_t bits2byte(uint8_t bits[8], int length) { +static uint8_t bits2byte(uint8_t *bits, int length) { // converts separate bits into a single "byte"