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.

23 line
430 B

  1. #include "SdPositionsBackup.h"
  2. #include "SdPositionsConfig.h"
  3. #include "SdCard.h"
  4. #include "Config.h"
  5. namespace positions {
  6. namespace backup {
  7. namespace sd {
  8. void SdPositionsBackup::setup() {
  9. config::backup::sd::setup();
  10. _config = new RawSdFile(&hardware::sdcard::filesystem, POSITIONS_CONFIG_FILENAME);
  11. }
  12. void SdPositionsBackup::backup() {
  13. Config referenceConfig = config::main::get();
  14. }
  15. }
  16. }
  17. }