diff --git a/applications/main/infrared/infrared_app.c b/applications/main/infrared/infrared_app.c index 38332021f..346e5e640 100644 --- a/applications/main/infrared/infrared_app.c +++ b/applications/main/infrared/infrared_app.c @@ -12,15 +12,6 @@ #define INFRARED_TX_MIN_INTERVAL_MS (50U) #define INFRARED_TASK_STACK_SIZE (2048UL) -#define INFRARED_SETTINGS_PATH EXT_PATH("infrared/.infrared.settings") -#define INFRARED_SETTINGS_VERSION (1) -#define INFRARED_SETTINGS_MAGIC (0x1F) - -typedef struct { - FuriHalInfraredTxPin tx_pin; - bool otg_enabled; -} InfraredSettings; - static const NotificationSequence* infrared_notification_sequences[InfraredNotificationMessageCount] = { &sequence_success, diff --git a/applications/main/infrared/infrared_app.h b/applications/main/infrared/infrared_app.h index a6f87402a..6b7b8821a 100644 --- a/applications/main/infrared/infrared_app.h +++ b/applications/main/infrared/infrared_app.h @@ -13,3 +13,15 @@ * @brief InfraredApp opaque type declaration. */ typedef struct InfraredApp InfraredApp; + +#include +#include + +#define INFRARED_SETTINGS_PATH EXT_PATH("infrared/.infrared.settings") +#define INFRARED_SETTINGS_VERSION (1) +#define INFRARED_SETTINGS_MAGIC (0x1F) + +typedef struct { + FuriHalInfraredTxPin tx_pin; + bool otg_enabled; +} InfraredSettings;