Skip to content

Commit

Permalink
Merge pull request #414 from MartinMueller2003/main
Browse files Browse the repository at this point in the history
Temporary change to avoid SD card hang while reading in ticker handler.
  • Loading branch information
forkineye authored Nov 17, 2021
2 parents ffc7e49 + d949bd2 commit 2fa7040
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions ESPixelStick/src/input/InputFPPRemotePlayFile.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ void c_InputFPPRemotePlayFile::Start (String & FileName, float SecondsElapsed, u
}
else
{
DEBUG_V ("No SD Card installed. Ignore Start request");
// DEBUG_V ("No SD Card installed. Ignore Start request");
fsm_PlayFile_state_Idle_imp.Init (this);
}

Expand Down Expand Up @@ -106,6 +106,7 @@ void c_InputFPPRemotePlayFile::Poll (uint8_t * _Buffer, size_t _BufferSize)
Buffer = _Buffer;
BufferSize = _BufferSize;

pCurrentFsmState->TimerPoll ();
pCurrentFsmState->Poll ();

// Show that we have received a poll
Expand Down Expand Up @@ -135,7 +136,7 @@ void c_InputFPPRemotePlayFile::TimerPoll ()

LastIsrTimeStampMS = now;
FrameControl.ElapsedPlayTimeMS += elapsedMS;
pCurrentFsmState->TimerPoll ();
// pCurrentFsmState->TimerPoll ();
}
// xDEBUG_END;

Expand Down

0 comments on commit 2fa7040

Please sign in to comment.