Make default SDK port a defined constant

This commit is contained in:
Adam Honse 2020-06-22 11:32:32 -05:00
parent 12226804f3
commit 0464fbcbe2
3 changed files with 8 additions and 2 deletions

View file

@ -37,7 +37,7 @@ static void Sleep(unsigned int milliseconds)
NetworkServer::NetworkServer(std::vector<RGBController *>& control) : controllers(control)
{
port_num = 6742;
port_num = OPENRGB_SDK_PORT;
server_online = false;
}