fixed bug show nth frame as in 2nd, 4th etc.

This commit is contained in:
Dhanya Maliakal
2016-08-12 13:48:30 +02:00
parent e452bccea2
commit 882202c2bc
2 changed files with 15 additions and 0 deletions

View File

@ -601,6 +601,8 @@ private:
/** Dummy Packet identifier value */
const static uint32_t dummyPacketValue = 0xFFFFFFFF;
//***receiver to GUI parameters***
/** Current Frame copied for GUI */
char* latestData;
@ -617,6 +619,8 @@ private:
/** Semaphore to synchronize Writer and GuiReader threads*/
sem_t writerGuiSemaphore;
/** counter for nth frame to gui */
int frametoGuiCounter;