瀏覽代碼

Remove unnecessary usings and debug messages

master
The6P4C 7 年之前
父節點
當前提交
c10a48d327
共有 2 個文件被更改,包括 0 次插入6 次删除
  1. +0
    -1
      GPSDOTimeSync/FormMain.cs
  2. +0
    -5
      GPSDOTimeSync/TimeProviders/Thunderbolt/ThunderboltSerialPort.cs

+ 0
- 1
GPSDOTimeSync/FormMain.cs 查看文件

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

namespace GPSDOTimeSync {
public partial class FormMain : Form {


+ 0
- 5
GPSDOTimeSync/TimeProviders/Thunderbolt/ThunderboltSerialPort.cs 查看文件

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

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

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

byte id = packetBuffer[1];

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


Loading…
取消
儲存