mirror of
https://gitee.com/Vancouver2017/luban-lite-t3e-pro.git
synced 2025-12-14 18:38:55 +00:00
v1.1.1
This commit is contained in:
@@ -190,11 +190,12 @@ static bool force_upg_check(void)
|
||||
|
||||
int upg_type_check(enum boot_device bd)
|
||||
{
|
||||
enum aic_reboot_reason r;
|
||||
|
||||
upg_type = UPG_TYPE_NONE;
|
||||
upg_mode = UPG_MODE_NORMAL;
|
||||
|
||||
#ifdef AIC_WRI_DRV
|
||||
enum aic_reboot_reason r;
|
||||
|
||||
r = aic_get_reboot_reason();
|
||||
/*
|
||||
* if REBOOT_REASON_UPGRADE is not clear in BROM or PBP, should be clear
|
||||
@@ -218,6 +219,7 @@ int upg_type_check(enum boot_device bd)
|
||||
aic_clr_reboot_reason();
|
||||
return 0;
|
||||
}
|
||||
#endif
|
||||
|
||||
if (bd == BD_USB) {
|
||||
if (usbd_connect_pc_check()) {
|
||||
|
||||
Reference in New Issue
Block a user