Rest of last commit

This commit is contained in:
mmcwilliams 2019-03-21 15:57:10 -04:00
parent 91ee19f2ab
commit d74e756b05
2 changed files with 6 additions and 6 deletions

View File

@ -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