mirror of
https://github.com/DarkFlippers/unleashed-firmware.git
synced 2024-12-25 06:13:14 +03:00
5ba6e3225b
by Willy-JL
28 lines
884 B
C
28 lines
884 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;
|