使用宏定义常量

hdrplus
Matthew 11 months ago
parent d66fefccc0
commit bed0f7ac7b

@ -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();

Loading…
Cancel
Save