Add correct alias strings to arduino lib

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

File diff suppressed because one or more lines are too long

View File

@ -279,15 +279,15 @@ class Arduino {
} else if (data === cfg.ardino.cmd.proj_second_identifier) {
type = 'projector_second'
} else if (data === cfg.ardino.cmd.proj_dual_identifier) {
type = 'projectors'
type = 'projector,projector_second'
} else if (data === cfg.ardino.cmd.cam_second_identifier) {
type = 'camera_second'
} else if (data === cfg.ardino.cmd.cam_dual_identifier) {
type = 'cameras'
type = 'camera,camera_second'
}
//camera,projectors
//cameras,projector
//cameras,projectors
//camera,projector,projector_second
//camera,camera_second,projector
//camera,camera_second,projector,projector_second
return resolve(type)
}
await delay(cfg.arduino.serialDelay)