|
MotorController
|
Go to the source code of this file.
Functions | |
| void | load_data_from_flash (void) |
| Load configuration data from flash. More... | |
| int32_t | store_data_in_flash (void) |
| Save configuration data in flash. More... | |
| void load_data_from_flash | ( | void | ) |
Load configuration data from flash.
This function fills the "settings" global variable with the values stored in flash.
Definition at line 18 of file data_storage.c.
| int32_t store_data_in_flash | ( | void | ) |
Save configuration data in flash.
This function writes in flash the content of the "settings" global variables.
| FLASH_RETURN_SUCCESS | No error. |
| FLASH_RETURN_NO_PERMISSION | Access denied. |
| FLASH_RETURN_BAD_FLASH | Flash cell error. |
Definition at line 22 of file data_storage.c.
1.8.13