Fix universe offset by one

This commit is contained in:
Adam Honse 2021-01-11 08:44:40 -06:00
parent 4abae6fc7a
commit 3a26bf91d4

View file

@ -364,7 +364,7 @@ void OpenRGBE131ReceiverDialog::E131ReceiverThreadFunction()
| If received packet is from a valid universe, |
| update the corresponding devices |
\*-------------------------------------------------*/
unsigned int universe = ntohs(packet.frame.universe) - 1;
unsigned int universe = ntohs(packet.frame.universe);
for(unsigned int universe_idx = 0; universe_idx < universe_list.size(); universe_idx++)
{