File tree Expand file tree Collapse file tree 1 file changed +0
-21
lines changed Expand file tree Collapse file tree 1 file changed +0
-21
lines changed Original file line number Diff line number Diff line change @@ -296,27 +296,6 @@ static void command_loop(void)
296
296
sendbyte_blocking (S_ACK );
297
297
break ;
298
298
}
299
- case S_CMD_O_WRITEB :
300
- {
301
- if (opbuf_pos + 5 > MAX_OPBUF_SIZE ) {
302
- sendbyte_blocking (S_NAK );
303
- break ;
304
- }
305
-
306
- uint32_t addr ;
307
- uint8_t byte ;
308
- readbytes_blocking (& addr , 3 );
309
- byte = readbyte_blocking ();
310
-
311
- // Store in operation buffer (assuming format: 1-byte command, 3-byte address, 1-byte data)
312
- opbuf [opbuf_pos ++ ] = S_CMD_O_WRITEB ;
313
- memcpy (& opbuf [opbuf_pos ], & addr , 3 );
314
- opbuf_pos += 3 ;
315
- opbuf [opbuf_pos ++ ] = byte ;
316
-
317
- sendbyte_blocking (S_ACK );
318
- break ;
319
- }
320
299
case S_CMD_O_INIT :
321
300
{
322
301
opbuf_pos = 0 ; // Reset the operation buffer position
You can’t perform that action at this time.
0 commit comments