#287 fixed coordinator not notifying supervisor of auto waste config

This commit is contained in:
Mikayla Fischler
2023-07-17 22:09:21 -04:00
parent 1202289fab
commit 455653074a
2 changed files with 5 additions and 1 deletions

View File

@@ -75,6 +75,10 @@ function process.init(iocontrol, coord_comms)
end
log.info("PROCESS: loaded auto control settings from coord.settings")
-- notify supervisor of auto waste config
self.comms.send_fac_command(FAC_COMMAND.SET_WASTE_MODE, self.config.waste_product)
self.comms.send_fac_command(FAC_COMMAND.SET_PU_FB, self.config.pu_fallback)
end
-- unit waste states