overworked cardreader for folder support; not finished yet.
This commit is contained in:
@ -176,6 +176,7 @@ static unsigned long stoptime=0;
|
||||
//=============================ROUTINES=============================
|
||||
//===========================================================================
|
||||
|
||||
void get_arc_coordinates();
|
||||
|
||||
extern "C"{
|
||||
extern unsigned int __bss_end;
|
||||
@ -588,7 +589,7 @@ inline void process_commands()
|
||||
starpos = (strchr(strchr_pointer + 4,'*'));
|
||||
if(starpos!=NULL)
|
||||
*(starpos-1)='\0';
|
||||
card.selectFile(strchr_pointer + 4);
|
||||
card.openFile(strchr_pointer + 4,true);
|
||||
break;
|
||||
case 24: //M24 - Start SD print
|
||||
card.startFileprint();
|
||||
@ -613,7 +614,7 @@ inline void process_commands()
|
||||
strchr_pointer = strchr(npos,' ') + 1;
|
||||
*(starpos-1) = '\0';
|
||||
}
|
||||
card.startFilewrite(strchr_pointer+4);
|
||||
card.openFile(strchr_pointer+4,false);
|
||||
|
||||
break;
|
||||
case 29: //M29 - Stop SD write
|
||||
|
Reference in New Issue
Block a user