From 4dce8790cca3e8aec01974a6fa9f1a0d11fbe529 Mon Sep 17 00:00:00 2001 From: Willy-JL <49810075+Willy-JL@users.noreply.github.com> Date: Mon, 10 Mar 2025 04:15:14 +0000 Subject: [PATCH] Cleanup includes --- lib/nfc/protocols/type_4_tag/type_4_tag.c | 2 -- lib/nfc/protocols/type_4_tag/type_4_tag.h | 2 -- lib/nfc/protocols/type_4_tag/type_4_tag_poller.c | 5 +---- lib/nfc/protocols/type_4_tag/type_4_tag_poller.h | 2 -- lib/nfc/protocols/type_4_tag/type_4_tag_poller_i.c | 4 +--- 5 files changed, 2 insertions(+), 13 deletions(-) diff --git a/lib/nfc/protocols/type_4_tag/type_4_tag.c b/lib/nfc/protocols/type_4_tag/type_4_tag.c index 47e8e7352..3bcb0ee41 100644 --- a/lib/nfc/protocols/type_4_tag/type_4_tag.c +++ b/lib/nfc/protocols/type_4_tag/type_4_tag.c @@ -1,7 +1,5 @@ #include "type_4_tag_i.h" -#include - #define TYPE_4_TAG_PROTOCOL_NAME "Type 4 Tag" const NfcDeviceBase nfc_device_type_4_tag = { diff --git a/lib/nfc/protocols/type_4_tag/type_4_tag.h b/lib/nfc/protocols/type_4_tag/type_4_tag.h index edbe320a4..bfa9f9478 100644 --- a/lib/nfc/protocols/type_4_tag/type_4_tag.h +++ b/lib/nfc/protocols/type_4_tag/type_4_tag.h @@ -2,8 +2,6 @@ #include -#include - #ifdef __cplusplus extern "C" { #endif diff --git a/lib/nfc/protocols/type_4_tag/type_4_tag_poller.c b/lib/nfc/protocols/type_4_tag/type_4_tag_poller.c index 79f20152c..3ff58ea2e 100644 --- a/lib/nfc/protocols/type_4_tag/type_4_tag_poller.c +++ b/lib/nfc/protocols/type_4_tag/type_4_tag_poller.c @@ -1,10 +1,7 @@ #include "type_4_tag_poller_i.h" +#include "type_4_tag_poller_defs.h" #include "type_4_tag_i.h" -#include - -#include - #define TAG "Type4TagPoller" // Read returns 2 byte status trailer, write sends 5 byte command header diff --git a/lib/nfc/protocols/type_4_tag/type_4_tag_poller.h b/lib/nfc/protocols/type_4_tag/type_4_tag_poller.h index c3ba91c32..eb5e03a14 100644 --- a/lib/nfc/protocols/type_4_tag/type_4_tag_poller.h +++ b/lib/nfc/protocols/type_4_tag/type_4_tag_poller.h @@ -2,8 +2,6 @@ #include "type_4_tag.h" -#include - #ifdef __cplusplus extern "C" { #endif diff --git a/lib/nfc/protocols/type_4_tag/type_4_tag_poller_i.c b/lib/nfc/protocols/type_4_tag/type_4_tag_poller_i.c index 0131b53c1..b356604c0 100644 --- a/lib/nfc/protocols/type_4_tag/type_4_tag_poller_i.c +++ b/lib/nfc/protocols/type_4_tag/type_4_tag_poller_i.c @@ -1,9 +1,7 @@ #include "type_4_tag_poller_i.h" +#include "type_4_tag_i.h" #include -#include - -#include "type_4_tag_i.h" #define TAG "Type4TagPoller"