Add automatic IR blaster detection

removed last_settings because it isnt needed anymore
This commit is contained in:
Sil333033
2024-01-27 20:33:10 +01:00
parent cb635ff2d2
commit 7c4f6de06f
8 changed files with 87 additions and 128 deletions

View File

@@ -1,15 +0,0 @@
#pragma once
#include <furi_hal.h>
#include <storage/storage.h>
#include <lib/flipper_format/flipper_format.h>
typedef struct {
bool ext_5v;
bool ext_out;
} InfraredLastSettings;
InfraredLastSettings* infrared_last_settings_alloc(void);
void infrared_last_settings_free(InfraredLastSettings* instance);
void infrared_last_settings_load(InfraredLastSettings* instance);
bool infrared_last_settings_save(InfraredLastSettings* instance);