COM_NPORTS
bool ports[COM_NPORTS];
for (uint_t i = 0; i < COM_NPORTS; i++)
for (uint_t i = 0; i < COM_NPORTS; i++) {