mirror of
https://github.com/Next-Flip/Momentum-Firmware.git
synced 2026-05-11 06:09:08 -07:00
Apps: IR: Support new settings from OFW
This commit is contained in:
@@ -12,14 +12,6 @@
|
||||
#define INFRARED_TX_MIN_INTERVAL_MS (50U)
|
||||
#define INFRARED_TASK_STACK_SIZE (2048UL)
|
||||
|
||||
#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,
|
||||
|
||||
@@ -15,4 +15,13 @@
|
||||
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;
|
||||
|
||||
Reference in New Issue
Block a user