@@ -1621,9 +1621,9 @@ void bbepClear(FASTEPDSTATE *pState, uint8_t val, uint8_t count, BB_RECT *pRect)
16211621 memcpy (pState->dma_buf , u8Cache, pState->native_width / 4 );
16221622 }
16231623 bbepWriteRow (pState, pState->dma_buf , pState->native_width / 4 , (i!=0 ));
1624- }
1625- delayMicroseconds ( 230 );
1626- }
1624+ } // for i
1625+ bbepRowControl (pState, ROW_END );
1626+ } // for k
16271627} /* bbepClear() */
16281628//
16291629// Perform a full update with a single color transition (user selected)
@@ -1679,7 +1679,7 @@ int bbepSmoothUpdate(FASTEPDSTATE *pState, bool bKeepOn, uint8_t u8Color)
16791679 bbepWriteRow (pState, pState->dma_buf , (pState->native_width / 4 ), 0 );
16801680 bbepRowControl (pState, ROW_STEP);
16811681 }
1682- delayMicroseconds ( 230 );
1682+ bbepRowControl (pState, ROW_END );
16831683 } // for pass
16841684 } else { // must be 4BPP mode
16851685 int dy, iPasses = (pState->panelDef .iMatrixSize / 16 ); // number of passes
@@ -1715,7 +1715,7 @@ int bbepSmoothUpdate(FASTEPDSTATE *pState, bool bKeepOn, uint8_t u8Color)
17151715 bbepWriteRow (pState, pState->dma_buf , (pState->native_width / 4 ), 0 );
17161716 bbepRowControl (pState, ROW_STEP);
17171717 } // for i
1718- delayMicroseconds ( 230 );
1718+ bbepRowControl (pState, ROW_END );
17191719 } // for pass
17201720 } // 4bpp
17211721 // Set the drivers inside epaper panel into discharge state.
@@ -1846,7 +1846,7 @@ int bbepFullUpdate(FASTEPDSTATE *pState, int iClearMode, bool bKeepOn, BB_RECT *
18461846 bbepWriteRow (pState, d, (pState->native_width / 4 ), (i!=0 ));
18471847 iDMAOff ^= (pState->native_width /4 );
18481848 }
1849- delayMicroseconds ( 230 );
1849+ bbepRowControl (pState, ROW_END );
18501850 } // for pass
18511851 } else { // must be 4BPP mode
18521852 int dy, iPasses = (pState->panelDef .iMatrixSize / 16 ); // number of passes
@@ -1894,9 +1894,8 @@ int bbepFullUpdate(FASTEPDSTATE *pState, int iClearMode, bool bKeepOn, BB_RECT *
18941894 }
18951895 bbepWriteRow (pState, d, (pState->native_width / 4 ), (i!=0 ));
18961896 iDMAOff ^= (pState->native_width / 4 ); // toggle offset
1897- // bbepRowControl(pState, ROW_STEP);
18981897 } // for i
1899- delayMicroseconds ( 230 );
1898+ bbepRowControl (pState, ROW_END );
19001899 } // for pass
19011900 } // 4bpp
19021901 // Set the drivers inside epaper panel into discharge state.
@@ -2009,6 +2008,7 @@ int bbepPartialUpdate(FASTEPDSTATE *pState, bool bKeepOn, int iStartLine, int iE
20092008 dp += iDelta;
20102009 iDMAOff ^= (pState->native_width /4 );
20112010 }
2011+ bbepRowControl (pState, ROW_END);
20122012 } // for each pass
20132013
20142014// This clear to neutral step is necessary; do not remove
0 commit comments