Temporarily disable prints in the peripheral pkg - need to add a different log

This commit is contained in:
2026-01-14 22:53:37 +00:00
parent 306929b8d3
commit 4ce12f07e8
4 changed files with 23 additions and 28 deletions
@@ -2,7 +2,6 @@ package packets
import (
"esdi/peripheral/communication/constvar"
"fmt"
)
type IdentificationPacket struct {
@@ -14,12 +13,12 @@ type IdentificationPacket struct {
}
func (pkt *IdentificationPacket) Validate() bool {
fmt.Println("↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓")
fmt.Println(pkt.StartMarker)
fmt.Println(pkt.PktType.String())
fmt.Println(string(pkt.Name[:]))
fmt.Println(pkt.EndMarker)
fmt.Println("↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑")
// fmt.Println("↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓")
// fmt.Println(pkt.StartMarker)
// fmt.Println(pkt.PktType.String())
// fmt.Println(string(pkt.Name[:]))
// fmt.Println(pkt.EndMarker)
// fmt.Println("↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑")
// Change this to return an error and add a validation against available
// device ids