Skip to content

Commit

Permalink
Removed test codes.
Browse files Browse the repository at this point in the history
  • Loading branch information
nthnn committed Apr 14, 2024
1 parent 3e09503 commit 2ab8c8f
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions src/rishka_syscalls.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -471,16 +471,6 @@ uint8_t RishkaSyscall::FS::open(RishkaVM* vm) {
vm->fileHandles.add(SD.open(path));
else vm->fileHandles.add(SD.open(path, mode));

File next = vm->fileHandles[vm->fileHandles.getSize() - 1];
while(true) {
vm->getTerminal()->println(next.name());

next = next.openNextFile();
if(!next)
break;
}
while(true);

return vm->fileHandles.getSize() - 1;
}

Expand Down

0 comments on commit 2ab8c8f

Please sign in to comment.