Add correct alias strings to arduino lib
This commit is contained in:
parent
c563bf0dd3
commit
91ee19f2ab
File diff suppressed because one or more lines are too long
|
@ -279,15 +279,15 @@ class Arduino {
|
||||||
} else if (data === cfg.ardino.cmd.proj_second_identifier) {
|
} else if (data === cfg.ardino.cmd.proj_second_identifier) {
|
||||||
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)
|
||||||
|
|
Loading…
Reference in New Issue