File tree Expand file tree Collapse file tree 1 file changed +9
-3
lines changed Expand file tree Collapse file tree 1 file changed +9
-3
lines changed Original file line number Diff line number Diff line change @@ -797,11 +797,17 @@ uint16_t iecDisk::sendHeader(std::string header, std::string id)
797797 if ( IEC.flags & ERROR ) return 0 ;
798798 }
799799
800+
801+ // if (path.size() > 2)
802+ // {
803+ // byte_count += sendLine(0, "%*s\"_\" DIR", 3, "");
804+ // if ( IEC.flags & ERROR ) return 0;
805+ // byte_count += sendLine(0, "%*s\"\\\" DIR", 3, "");
806+ // if ( IEC.flags & ERROR ) return 0;
807+ // }
800808 if (fnSDFAT.running () && _base->url .size () < 2 )
801809 {
802- byte_count += sendLine (0 , " %*s\" SD\" DIR" , 0 , " " );
803- if ( IEC.flags & ERROR ) return 0 ;
804- byte_count += sendLine (0 , " %*s\" -------------------\" NFO" , 0 , " " );
810+ byte_count += sendLine (0 , " %*s\" SD\" DIR" , 3 , " " );
805811 if ( IEC.flags & ERROR ) return 0 ;
806812 }
807813
You can’t perform that action at this time.
0 commit comments