Skip to content
Snippets Groups Projects
Commit f0959c62 authored by Pascal Pieper's avatar Pascal Pieper
Browse files

Enabled powerloss again

parent a6c5ece7
No related branches found
No related tags found
No related merge requests found
......@@ -138,7 +138,7 @@ public:
void onChangedMemory()
{
if(false && --changesUntilNextPowerloss == 0)
if(--changesUntilNextPowerloss == 0)
{
disableCallback();
exitAndRedo = true;
......@@ -320,6 +320,11 @@ public:
}
fsif->f_close(&fd);
if(fileNo == 14)
{
printf("Bug soon to come\n");
}
intermediateFile = fileNo;
ret = fsif->f_delete(filename.c_str());
filesize[fileNo] = 0;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment