fix etherpix output for monochrome frames
Stefan Schuermans

Stefan Schuermans commited on 2018-08-14 14:14:06
Showing 1 changed files, with 1 additions and 1 deletions.

... ...
@@ -153,7 +153,7 @@ void EtherPix::displayFrame(stBlinkenFrame *pFrame)
153 153
         BlinkenFrameResize(pClonedFrame, m_size.m_height,
154 154
                            m_size.m_width, 3, 255);
155 155
         // convert to MCUF packet
156
-        haveData = BlinkenFrameToNetwork(pFrame, BlinkenProtoMcuf,
156
+        haveData = BlinkenFrameToNetwork(pClonedFrame, BlinkenProtoMcuf,
157 157
                                          data, sizeof(data)) >= 0;
158 158
         // free clones frame
159 159
         BlinkenFrameFree(pClonedFrame);
160 160