Skip to content

Commit

Permalink
set required to 147
Browse files Browse the repository at this point in the history
  • Loading branch information
tomvita committed Oct 4, 2020
1 parent 19a1944 commit aec19c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion PointerSearcher/Form1.cs
Original file line number Diff line number Diff line change
Expand Up @@ -739,7 +739,7 @@ private void getstatus_Click(object sender, EventArgs e)
c = s.Receive(b);
count = BitConverter.ToInt32(k, 0);
statusBox.Text = Convert.ToString(b[0]) + " . " + Convert.ToString(b[1]) + " . " + Convert.ToString(b[2]) + " . " + Convert.ToString(b[3]);
if (b[3] >= 146) statusBox.BackColor = System.Drawing.Color.LightGreen; else statusBox.BackColor = System.Drawing.Color.Red;
if (b[3] >= 147) statusBox.BackColor = System.Drawing.Color.LightGreen; else statusBox.BackColor = System.Drawing.Color.Red;
f = s.Available;
b = new byte[f];
s.Receive(b);
Expand Down

0 comments on commit aec19c3

Please sign in to comment.