mirror of
https://github.com/Team254/cheesy-arena-lite.git
synced 2026-03-09 13:46:44 -04:00
Update assumptions about PLC interface.
This commit is contained in:
@@ -30,7 +30,7 @@ func (web *Web) fieldGetHandler(w http.ResponseWriter, r *http.Request) {
|
||||
Counters []uint16
|
||||
Coils []bool
|
||||
}{web.arena.EventSettings, web.arena.AllianceStationDisplays, web.arena.FieldTestMode, web.arena.Plc.Inputs[:],
|
||||
web.arena.Plc.Counters[:], web.arena.Plc.Coils[:]}
|
||||
web.arena.Plc.Registers[:], web.arena.Plc.Coils[:]}
|
||||
err = template.ExecuteTemplate(w, "base", data)
|
||||
if err != nil {
|
||||
handleWebErr(w, err)
|
||||
|
||||
Reference in New Issue
Block a user