mirror of
https://github.com/Next-Flip/Momentum-Firmware.git
synced 2026-06-10 19:23:31 -07:00
Remove power settings duplicated files
This commit is contained in:
@@ -1,16 +0,0 @@
|
||||
#include <toolbox/saved_struct.h>
|
||||
#include <storage/storage.h>
|
||||
#include "power_settings_filename.h"
|
||||
|
||||
#define POWER_SETTINGS_VER (1)
|
||||
|
||||
#define POWER_SETTINGS_PATH INT_PATH(POWER_SETTINGS_FILE_NAME)
|
||||
#define POWER_SETTINGS_MAGIC (0x21)
|
||||
|
||||
#define SAVE_POWER_SETTINGS(x) \
|
||||
saved_struct_save( \
|
||||
POWER_SETTINGS_PATH, (x), sizeof(uint32_t), POWER_SETTINGS_MAGIC, POWER_SETTINGS_VER)
|
||||
|
||||
#define LOAD_POWER_SETTINGS(x) \
|
||||
saved_struct_load( \
|
||||
POWER_SETTINGS_PATH, (x), sizeof(uint32_t), POWER_SETTINGS_MAGIC, POWER_SETTINGS_VER)
|
||||
@@ -1,3 +0,0 @@
|
||||
#pragma once
|
||||
|
||||
#define POWER_SETTINGS_FILE_NAME ".power.settings"
|
||||
Reference in New Issue
Block a user