mirror of
https://github.com/MarlinFirmware/Marlin.git
synced 2024-12-14 22:41:35 +00:00
19 lines
402 B
C++
19 lines
402 B
C++
#ifndef _PERSISTENT_STORE_H_
|
|
#define _PERSISTENT_STORE_H_
|
|
|
|
#include <stddef.h>
|
|
#include <stdint.h>
|
|
|
|
namespace HAL {
|
|
namespace PersistentStore {
|
|
|
|
bool access_start();
|
|
bool access_finish();
|
|
bool write_data(int &pos, const uint8_t *value, uint16_t size, uint16_t *crc);
|
|
void read_data(int &pos, uint8_t* value, uint16_t size, uint16_t *crc);
|
|
|
|
} // PersistentStore
|
|
} // HAL
|
|
|
|
#endif // _PERSISTENT_STORE_H_
|