Get the read-only set point signal more simply

This commit is contained in:
Aaron Fenyes 2025-02-19 01:22:42 -08:00
parent c54b6bc165
commit befadd25c9

View file

@ -256,7 +256,7 @@ impl Assembly {
} }
); );
let set_point_writable = create_signal(None); let set_point_writable = create_signal(None);
let set_point = set_point_writable.split().0; let set_point = *set_point_writable;
self.insert_regulator(Regulator { self.insert_regulator(Regulator {
subjects: subjects, subjects: subjects,
measurement: measurement, measurement: measurement,