938使用gpio机制重启

PtzNew
Matthew 3 months ago
parent 4cae89014d
commit a7d3266624

@ -1165,8 +1165,11 @@ bool CPhoneDevice::Reboot(int resetType, bool manually, const std::string& reaso
} }
if (manually) if (manually)
{ {
// GpioControl::reboot(); #ifdef USING_N938
GpioControl::reboot();
#else
RestartApp(resetType, timeout, reason); RestartApp(resetType, timeout, reason);
#endif
} }
} }
else else

Loading…
Cancel
Save