The relative is working like this, just make the other UI items also work

This commit is contained in:
2025-02-21 23:08:15 +00:00
parent 977e5e4b38
commit dc4eab1503
4 changed files with 92 additions and 75 deletions
+4 -2
View File
@@ -11,7 +11,8 @@ type ESDI struct {
SerialConfig *serial.Config
SerialConn *serial.Port
irsdk *goirsdk.IBT
data DataPacket
data SimulationData
dataPacket DataPacket
// Source GameSource
}
@@ -35,5 +36,6 @@ func ESDIInit(port string, baud int) (ESDI, error) {
}
// return ESDI{sConfig, sPort, nil}, nil
return ESDI{sConfig, sPort, nil, DataPacket{}}, nil
return ESDI{sConfig, sPort, nil, SimulationData{}, DataPacket{}}, nil
// return ESDI{nil, nil, nil, SimulationData{}, DataPacket{}}, nil
}