mirror of
https://github.com/DarkFlippers/unleashed-firmware
synced 2024-11-23 21:13:16 +00:00
27 lines
889 B
C
27 lines
889 B
C
/**
|
|
* @file infrared_app.h
|
|
* @brief Infrared application - start here.
|
|
*
|
|
* @see infrared_app_i.h for the main application data structure and functions.
|
|
* @see infrared_signal.h for the infrared signal library - loading, storing and transmitting signals.
|
|
* @see infrared_remote.hl for the infrared remote library - loading, storing and manipulating remotes.
|
|
* @see infrared_brute_force.h for the infrared brute force - loading and transmitting multiple signals.
|
|
*/
|
|
#pragma once
|
|
|
|
/**
|
|
* @brief InfraredApp opaque type declaration.
|
|
*/
|
|
typedef struct InfraredApp InfraredApp;
|
|
|
|
#include <storage/storage.h>
|
|
#include <furi_hal_infrared.h>
|
|
|
|
#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;
|