Skip to content

Commit

Permalink
Fixed RishkaVM::loadFile() implementation.
Browse files Browse the repository at this point in the history
  • Loading branch information
nthnn committed May 18, 2024
1 parent 1bfc931 commit 4a9e521
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/rishka_vm.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ bool RishkaVM::loadFile(const char* fileName, bool enableBoot) {
if(!SD.exists(absoluteFilename))
return false;

if(enableBoot && absoluteFilename == "/bin/boot.bin")
if(!enableBoot && absoluteFilename == "/bin/boot.bin")
return false;

File file = SD.open(absoluteFilename);
Expand Down

0 comments on commit 4a9e521

Please sign in to comment.