From a575b2a4ed887cd216faf48521297db6360cd474 Mon Sep 17 00:00:00 2001 From: sago35 Date: Sun, 27 Jun 2021 14:00:29 +0900 Subject: [PATCH] Update comments --- rtl8720dn/rpc_util.go | 2 -- rtl8720dn/tmp.go | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/rtl8720dn/rpc_util.go b/rtl8720dn/rpc_util.go index 5d59754..5850e01 100644 --- a/rtl8720dn/rpc_util.go +++ b/rtl8720dn/rpc_util.go @@ -81,7 +81,6 @@ func (r *RTL8720DN) readThread() { length := uint16(readBuf[0]) + uint16(readBuf[1])<<8 crc := uint16(readBuf[2]) + uint16(readBuf[3])<<8 - //fmt.Printf("len %d (%X) crc %04X\r\n", length, length, crc) n, _ = io.ReadFull(r.port, payload[:length]) if r.debug { @@ -91,7 +90,6 @@ func (r *RTL8720DN) readThread() { } n = int(length) - //fmt.Printf("rx : %2d : %s\n", n, dumpHex(payload[:n])) crcNew := computeCRC16(payload[:n]) if g, e := crcNew, crc; g != e { diff --git a/rtl8720dn/tmp.go b/rtl8720dn/tmp.go index fd32078..bd53892 100644 --- a/rtl8720dn/tmp.go +++ b/rtl8720dn/tmp.go @@ -1,6 +1,6 @@ package rtl8720dn -// TODO: 後で整理する +// TODO: Implement these when needed // https://github.com/Seeed-Studio/seeed-ambd-firmware/blob/master/erpc_idl/erpc_shim/rpc_system_header.h type RPC_T_GAP_CAUSE int32