@ -777,7 +777,7 @@ bool CPhoneDevice::InstallAPP(const std::string& path, unsigned int delayedTime)
bool CPhoneDevice::Reboot(int resetType)
{
if (resetType == 1)
if (resetType == REBOOT_TYPE_DEVICE)
// reboot the device
GpioControl::reboot();