My Marlin configs for Fabrikator Mini and CTC i3 Pro B
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

persistent_store_api.h 402B

123456789101112131415161718
  1. #ifndef _PERSISTENT_STORE_H_
  2. #define _PERSISTENT_STORE_H_
  3. #include <stddef.h>
  4. #include <stdint.h>
  5. namespace HAL {
  6. namespace PersistentStore {
  7. bool access_start();
  8. bool access_finish();
  9. bool write_data(int &pos, const uint8_t *value, uint16_t size, uint16_t *crc);
  10. bool read_data(int &pos, uint8_t* value, uint16_t size, uint16_t *crc);
  11. } // PersistentStore
  12. } // HAL
  13. #endif // _PERSISTENT_STORE_H_