Question, why `NetioTxCore::sendFifo()` trace log skips 1 byte in the FIFO?
The trace log in NetioTxCore::sendFifo() skips the first byte to be sent:
void NetioTxCore::sendFifo(){
...
nlog->trace("FIFO[{}][{}]: ", elink, this_fifo.size()-1);
for(uint32_t i=1; i<this_fifo.size(); i++){
nlog->trace("{:02x}", this_fifo[i]&0xFF);
}
}
Why is that so? I was testing how @ztao's StarFelixTriggerLoop sets up the strips encoder, and it was a bit confusing that one byte would disappear in the fifo printout:
[NetioHW::TxCore] NetioTxCore::writeFifo elink=15 val=0x10000102
[NetioHW::TxCore] NetioTxCore::releaseFifo
[NetioHW::TxCore] NetioTxCore::sendFifo
[NetioHW::TxCore] FIFO[0][3]:
[NetioHW::TxCore] 00
[NetioHW::TxCore] 00
[NetioHW::TxCore] 01
[NetioHW::TxCore] 01
[NetioHW::TxCore] 02
[NetioHW::TxCore] 02