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 381B

12345678910111213141516171819
  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. void read_data(int &pos, uint8_t* value, uint16_t size, uint16_t *crc) ;
  11. }
  12. }
  13. #endif /* _PERSISTANT_STORE_H_ */