9 if (packetCount == 0 || maxCommands == 0) {
15 uint32_t commandCount = 1;
52 for (uint32_t i = 1; i < packetCount; ++i) {
56 bool canBatch = (packet->
header == previous->
header) && (packet->
key == previous->
key);
61 if (commandCount >= maxCommands) {