mirror of
https://github.com/Next-Flip/Momentum-Firmware.git
synced 2026-05-16 04:24:45 -07:00
Simpler infrared last settings API
This commit is contained in:
@@ -8,9 +8,13 @@ typedef struct {
|
||||
bool ext_5v;
|
||||
bool ext_out;
|
||||
bool auto_detect;
|
||||
|
||||
bool _otg_was_enabled;
|
||||
} 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);
|
||||
bool infrared_last_settings_save(InfraredLastSettings* instance);
|
||||
void infrared_last_settings_apply(InfraredLastSettings* instance);
|
||||
void infrared_last_settings_reset(InfraredLastSettings* instance);
|
||||
Reference in New Issue
Block a user