From 8cc7022604f7fb7167a8c8575b07c53e467c38a8 Mon Sep 17 00:00:00 2001 From: Jean-Michel Picod Date: Tue, 17 Oct 2023 19:33:59 +0200 Subject: [PATCH] Remove compilation error. Function is already declared (non-static) in armsrc. Compiler was complaining about re-defining a non-static func by a static one. --- armsrc/Standalone/hf_iceclass.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/armsrc/Standalone/hf_iceclass.c b/armsrc/Standalone/hf_iceclass.c index ea38574db..a47cf6517 100644 --- a/armsrc/Standalone/hf_iceclass.c +++ b/armsrc/Standalone/hf_iceclass.c @@ -116,10 +116,6 @@ static bool have_aa2(void) { return memcmp(aa2_key, "\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF", 8); } -static uint8_t get_pagemap(const picopass_hdr_t *hdr) { - return (hdr->conf.fuses & (FUSE_CRYPT0 | FUSE_CRYPT1)) >> 3; -} - static uint8_t csns[8 * NUM_CSNS] = { 0x01, 0x0A, 0x0F, 0xFF, 0xF7, 0xFF, 0x12, 0xE0, 0x0C, 0x06, 0x0C, 0xFE, 0xF7, 0xFF, 0x12, 0xE0,