File tree Expand file tree Collapse file tree 1 file changed +1
-3
lines changed
Expand file tree Collapse file tree 1 file changed +1
-3
lines changed Original file line number Diff line number Diff line change @@ -89,7 +89,7 @@ namespace user_interface_base {
8989
9090 let timePassed = 0 ;
9191 while ( ! received ) {
92- if ( timePassed % 99 == 0 )
92+ if ( timePassed % 33 == 0 )
9393 radio . sendBuffer ( buf ) ;
9494 timePassed += 3 ;
9595 basic . pause ( 3 )
@@ -127,7 +127,6 @@ namespace user_interface_base {
127127 const rowBuf = Buffer . create ( bitmap . width ) ;
128128 bitmap . getRows ( startingRow , rowBuf ) ;
129129 const res = rowBuf . slice ( startIndex % width , chunkSize ) ;
130- // basic.showNumber(res.length)
131130 return res
132131 }
133132 }
@@ -144,7 +143,6 @@ namespace user_interface_base {
144143 // Send a chunk of the bitmap and wait for ACK, RX will rebuild the bitmap:
145144 for ( let j = 0 ; j < numberOfChunks ; j ++ ) {
146145 const rowBuffer = this . getBuffer ( bitmap , j , maxPacketBufferSize ) ;
147- // radio.sendBuffer(rowBuffer);
148146 this . tryToSend ( rowBuffer ) ;
149147 }
150148 this . bitmapCache . push ( bitmap ) ;
You can’t perform that action at this time.
0 commit comments