remove unused code

This commit is contained in:
William Clark 2023-11-23 16:57:28 +00:00
parent b7da565c82
commit 180ac20eea

View File

@ -4,25 +4,10 @@ import (
"errors"
"fmt"
"th7/data/config"
"th7/data/thermocouple"
"th7/ports"
"time"
)
var (
thermocoupleTypes = map[string]thermocouple.Type{
"B": thermocouple.B,
"E": thermocouple.E,
"J": thermocouple.J,
"K": thermocouple.K,
"N": thermocouple.N,
"R": thermocouple.R,
"S": thermocouple.S,
"T": thermocouple.T,
"U": thermocouple.None, // for uV measurements
}
)
func NewAdapter(corePort ports.CorePort, cfg config.Config) (ports.DBPort, error) {
var duration time.Duration