浏览代码

Expand on More RAM concept, address minor bugs

Scott Lahteine 10 年前
父节点
当前提交
b6ffea612a
共有 1 个文件被更改,包括 0 次插入19 次删除
  1. 0
    19
      Marlin/cardreader.h

+ 0
- 19
Marlin/cardreader.h 查看文件

46
 #ifdef SDCARD_SORT_ALPHA
46
 #ifdef SDCARD_SORT_ALPHA
47
   void presort();
47
   void presort();
48
   void flush_presort();
48
   void flush_presort();
49
-<<<<<<< HEAD
50
   void getfilename_sorted(const uint16_t nr);
49
   void getfilename_sorted(const uint16_t nr);
51
-=======
52
-  void getfilename_sorted(const uint8_t nr);
53
->>>>>>> SD Card Alpha Sorting
54
 #endif
50
 #endif
55
 
51
 
56
 
52
 
64
 public:
60
 public:
65
   bool saving;
61
   bool saving;
66
   bool logging;
62
   bool logging;
67
-<<<<<<< HEAD
68
   bool sdprinting;
63
   bool sdprinting;
69
   bool cardOK;
64
   bool cardOK;
70
   char filename[FILENAME_LENGTH];
65
   char filename[FILENAME_LENGTH];
71
   char longFilename[LONG_FILENAME_LENGTH];
66
   char longFilename[LONG_FILENAME_LENGTH];
72
-=======
73
-  bool sdprinting ;  
74
-  bool cardOK;
75
-  char filename[FILENAME_LENGTH];
76
-  char diveFilename[LONG_FILENAME_LENGTH];
77
->>>>>>> SD Card Alpha Sorting
78
   bool filenameIsDir;
67
   bool filenameIsDir;
79
   int lastnr; //last number of the autostart;
68
   int lastnr; //last number of the autostart;
80
 private:
69
 private:
81
   SdFile root,*curDir,workDir,workDirParents[MAX_DIR_DEPTH];
70
   SdFile root,*curDir,workDir,workDirParents[MAX_DIR_DEPTH];
82
   uint16_t workDirDepth;
71
   uint16_t workDirDepth;
83
 #ifdef SDCARD_SORT_ALPHA
72
 #ifdef SDCARD_SORT_ALPHA
84
-<<<<<<< HEAD
85
   uint16_t sort_count;
73
   uint16_t sort_count;
86
   uint8_t *sort_order;
74
   uint8_t *sort_order;
87
   #if SORT_USES_MORE_RAM
75
   #if SORT_USES_MORE_RAM
88
     char **sortshort;
76
     char **sortshort;
89
     char **sortnames;
77
     char **sortnames;
90
     uint8_t *isDir;
78
     uint8_t *isDir;
91
-=======
92
-  #if SORT_USES_MORE_RAM
93
-    uint16_t sort_count;
94
-    char **sortnames;
95
-  #else
96
-    uint8_t sort_order[SORT_LIMIT];
97
->>>>>>> SD Card Alpha Sorting
98
   #endif
79
   #endif
99
 #endif
80
 #endif
100
   Sd2Card card;
81
   Sd2Card card;

正在加载...
取消
保存