Browse Source

Remove unnecessary usings and debug messages

master
The6P4C 7 years ago
parent
commit
c10a48d327
2 changed files with 0 additions and 6 deletions
  1. +0
    -1
      GPSDOTimeSync/FormMain.cs
  2. +0
    -5
      GPSDOTimeSync/TimeProviders/Thunderbolt/ThunderboltSerialPort.cs

+ 0
- 1
GPSDOTimeSync/FormMain.cs View File

@@ -6,7 +6,6 @@ using System.Windows.Forms;
using GPSDOTimeSync.Devices.Thunderbolt; using GPSDOTimeSync.Devices.Thunderbolt;
using GPSDOTimeSync.TimeProviders; using GPSDOTimeSync.TimeProviders;
using GPSDOTimeSync.TimeProviders.Thunderbolt; using GPSDOTimeSync.TimeProviders.Thunderbolt;
using System.Diagnostics;


namespace GPSDOTimeSync { namespace GPSDOTimeSync {
public partial class FormMain : Form { public partial class FormMain : Form {


+ 0
- 5
GPSDOTimeSync/TimeProviders/Thunderbolt/ThunderboltSerialPort.cs View File

@@ -1,7 +1,5 @@
using System.Collections.Generic; using System.Collections.Generic;
using System.Diagnostics;
using System.IO.Ports; using System.IO.Ports;
using System.Linq;
using System.Threading; using System.Threading;


namespace GPSDOTimeSync.Devices.Thunderbolt { namespace GPSDOTimeSync.Devices.Thunderbolt {
@@ -130,9 +128,6 @@ namespace GPSDOTimeSync.Devices.Thunderbolt {
} }


private void ProcessPacket() { private void ProcessPacket() {
List<string> byteStrings = packetBuffer.Select(x => string.Format("{0:X2}", x)).ToList();
Debug.WriteLine(string.Join(" ", byteStrings));

byte id = packetBuffer[1]; byte id = packetBuffer[1];


// Grab only the data - not the first [DLE]<id> or the last [DLE][ETX] // Grab only the data - not the first [DLE]<id> or the last [DLE][ETX]


Loading…
Cancel
Save