Push dev work to master #2
|
@ -162,12 +162,6 @@ var setState = function (res) {
|
||||||
exposure = shutter(STATE.exposure);
|
exposure = shutter(STATE.exposure);
|
||||||
exposureScale = scaleAuto(STATE.exposure);
|
exposureScale = scaleAuto(STATE.exposure);
|
||||||
|
|
||||||
if (res.sequence === true) {
|
|
||||||
STATE.sequence = true;
|
|
||||||
mobile.ble.active = true;
|
|
||||||
document.getElementById('seq').classList.add('focus');
|
|
||||||
}
|
|
||||||
|
|
||||||
document.getElementById('str').value = exposure.str;
|
document.getElementById('str').value = exposure.str;
|
||||||
document.getElementById('scale').value = exposureScale;
|
document.getElementById('scale').value = exposureScale;
|
||||||
setExposureScale();
|
setExposureScale();
|
||||||
|
@ -176,6 +170,13 @@ var setState = function (res) {
|
||||||
delayScale = scaleAuto(STATE.delay);
|
delayScale = scaleAuto(STATE.delay);
|
||||||
document.getElementById('delayScale').value = delayScale;
|
document.getElementById('delayScale').value = delayScale;
|
||||||
setDelayScale();
|
setDelayScale();
|
||||||
|
|
||||||
|
if (res.sequence == true) {
|
||||||
|
console.log(res.sequence);
|
||||||
|
STATE.sequence = true;
|
||||||
|
mobile.ble.active = true;
|
||||||
|
document.getElementById('seq').classList.add('focus');
|
||||||
|
}
|
||||||
};
|
};
|
||||||
var appPage = function () {
|
var appPage = function () {
|
||||||
unsetPages();
|
unsetPages();
|
||||||
|
|
Loading…
Reference in New Issue