Rest of last commit
This commit is contained in:
parent
91ee19f2ab
commit
d74e756b05
|
@ -273,17 +273,17 @@ class Arduino {
|
||||||
type = 'projector_second';
|
type = 'projector_second';
|
||||||
}
|
}
|
||||||
else if (data === cfg.ardino.cmd.proj_dual_identifier) {
|
else if (data === cfg.ardino.cmd.proj_dual_identifier) {
|
||||||
type = 'projectors';
|
type = 'projector,projector_second';
|
||||||
}
|
}
|
||||||
else if (data === cfg.ardino.cmd.cam_second_identifier) {
|
else if (data === cfg.ardino.cmd.cam_second_identifier) {
|
||||||
type = 'camera_second';
|
type = 'camera_second';
|
||||||
}
|
}
|
||||||
else if (data === cfg.ardino.cmd.cam_dual_identifier) {
|
else if (data === cfg.ardino.cmd.cam_dual_identifier) {
|
||||||
type = 'cameras';
|
type = 'camera,camera_second';
|
||||||
}
|
}
|
||||||
//camera,projectors
|
//camera,projector,projector_second
|
||||||
//cameras,projector
|
//camera,camera_second,projector
|
||||||
//cameras,projectors
|
//camera,camera_second,projector,projector_second
|
||||||
return resolve(type);
|
return resolve(type);
|
||||||
};
|
};
|
||||||
await delay(cfg.arduino.serialDelay);
|
await delay(cfg.arduino.serialDelay);
|
||||||
|
|
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue