EXC3000_SLOTS_PER_FRAME
if (total_slots > EXC3000_SLOTS_PER_FRAME) {
int slots = min(total_slots, EXC3000_SLOTS_PER_FRAME);