Matthew 5 months ago
commit a29b471633

@ -1901,7 +1901,7 @@ void CameraPhotoPortDataProcess(SIO_PARAM_SERIAL_DEF *curserial)
iNo = rtumsg.MsgData[i + 1] + rtumsg.MsgData[i] * 256;
if((0xFF == rtumsg.MsgData[i+2]) && (3 == datalen))
{
curserial->SerialCmdidx = iNo + 1;
curserial->SerialCmdidx = iNo;
break;
}

@ -416,7 +416,7 @@ public class MpMasterService extends Service {
long tempduration = mMpHeartbeatDuration;
if(mMpHeartbeatDuration < 600000)
tempduration = 300000;
tempduration = 290000;
if (mPreviousMpHbTime <= ts && ts - mPreviousMpHbTime > tempduration * 2) {
// MpApp is not running
if (ts - mTimeToStartMpApp >= 1800000) {

Loading…
Cancel
Save