add brokestalgia controller

This commit is contained in:
4yn
2022-03-18 20:58:34 +08:00
parent 8fbb9e4d9f
commit d89de5e6fc
8 changed files with 221 additions and 33 deletions
+2 -2
View File
@@ -40,14 +40,14 @@ impl Context {
match &config.device_mode {
DeviceMode::None => (None, None, None),
DeviceMode::Brokenithm {
ground_only,
spec,
lights_enabled,
} => (
None,
None,
Some(AsyncHaltableWorker::new(
"brokenithm",
BrokenithmJob::new(&state, ground_only, lights_enabled),
BrokenithmJob::new(&state, spec, lights_enabled),
)),
),
DeviceMode::Hardware { spec, disable_air } => (