Make default SDK port a defined constant
This commit is contained in:
parent
12226804f3
commit
0464fbcbe2
3 changed files with 8 additions and 2 deletions
|
|
@ -37,7 +37,7 @@ static void Sleep(unsigned int milliseconds)
|
|||
NetworkClient::NetworkClient(std::vector<RGBController *>& control) : controllers(control)
|
||||
{
|
||||
strcpy(port_ip, "127.0.0.1");
|
||||
port_num = 6742;
|
||||
port_num = OPENRGB_SDK_PORT;
|
||||
server_connected = false;
|
||||
server_controller_count = 0;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue