Added broadcast

This commit is contained in:
2015-10-20 19:40:34 +02:00
parent 87ef3a7b39
commit 30c9b7c6e3
2 changed files with 2 additions and 2 deletions
@@ -152,7 +152,7 @@ namespace ErgometerApplication
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(700, 500);
this.MinimumSize = new System.Drawing.Size(550, 450);
this.MinimumSize = new System.Drawing.Size(550, 550);
this.Controls.Add(this.panelTopBar);
this.Controls.Add(this.panelLogin);
this.Controls.Add(this.panelClientContainer);
@@ -72,7 +72,7 @@ namespace ErgometerApplication
if (password.Length > 0)
{
string error = "";
bool connect = MainClient.Connect("COM3", username, password, out error);
bool connect = MainClient.Connect(SerialPort.GetPortNames()[0], username, password, out error);
if (connect)
{