第一版代码,为了在EEPROM保存参数的时候走STM32的CRC,让Codex修改了一下,现在的效果是无法存储,codex表示原因是CRC方法不同,修改到一半今天的额度使用完了,有待后续解决CRC的bug
This commit is contained in:
13
Application/app_param_store.h
Normal file
13
Application/app_param_store.h
Normal file
@@ -0,0 +1,13 @@
|
||||
#ifndef APP_PARAM_STORE_H
|
||||
#define APP_PARAM_STORE_H
|
||||
|
||||
#include <stdbool.h>
|
||||
#include "Com_type.h"
|
||||
|
||||
void App_ParamStore_Init(void);
|
||||
bool App_ParamStore_LoadAndApply(void);
|
||||
bool App_ParamStore_Save(const App_RunParams_t *params);
|
||||
bool App_ParamStore_Read(App_RunParams_t *params);
|
||||
void App_ParamStore_Process(void);
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user