1、使用触摸判断进入AOD状态,解决不进主界面直接进入AOD,双击无法进主界面问题

This commit is contained in:
“苏飞源” 2023-10-19 16:16:32 +08:00
parent 2bc75a5297
commit 7cbf9f8bba
8 changed files with 8929 additions and 3205 deletions

View File

@ -50,7 +50,7 @@
<InvalidFlash>1</InvalidFlash>
</TargetStatus>
<OutputDirectory>.\Objects\</OutputDirectory>
<OutputName>CVWL568_S21U_20230918</OutputName>
<OutputName>CVWL568_S21U_20230921</OutputName>
<CreateExecutable>1</CreateExecutable>
<CreateLib>0</CreateLib>
<CreateHexFile>1</CreateHexFile>

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

Binary file not shown.

View File

@ -1155,6 +1155,10 @@ static bool ap_dcs_read(uint8_t data_type, uint8_t dcs_cmd, uint8_t param)
{
//TAU_LOGD("r[%x] [%d] err!!!!!!\n", dcs_cmd, return_size);
}
}
else if (dcs_cmd == 0x01)
{
ap_get_tp_calibration_status_01(g_rx_ctrl_handle,param);
}
else
{
@ -2143,15 +2147,16 @@ static bool ap_set_hbm_53(hal_dsi_rx_ctrl_handle_t* handler, hal_dcs_packet_t* d
g_tp_sleep_in = true;
// hal_dsi_tx_ctrl_write_cmd(0x39, 0, 3, 0x51, 0x01, 0x80);
}
else
{
g_tp_sleep_in = false;
}
// else
// {
// g_tp_sleep_in = false;
// }
// TAU_LOGD("53:[%2x]", dcs_packet->packet_param[0]);
return true;
}
/* ¿ÍÖÆ»¯DCS command ´¦Àíº¯Êý±í¸ñ */
static const hal_dcs_execute_entry_t g_cus_rx_dcs_execute_table[] =
{
@ -3920,7 +3925,7 @@ void pps_updata_exec(void)
{
if( true == s_pps_updata_allpixeloff_flag) // PPS ????
{
if( hal_system_get_tick() - BaseTime > 50 )
if( hal_system_get_tick() - BaseTime > 80 )
{
hal_dsi_tx_ctrl_write_cmd(0x05, 0, 1, 0x13);
s_pps_updata_allpixeloff_flag = false;

View File

@ -1,4 +1,12 @@
////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////
ISP568_S21U_NT37701AH_TM678_20230921
1、使用触摸判断进入AOD状态解决不进主界面直接进入AOD双击无法进主界面问题
2、
////////////////////////////////////////////////////////////////////////
ISP568_S21U_NT37701AH_TM678_20230918

View File

@ -973,7 +973,7 @@ void app_tp_phone_analysis_data(uint8_t *rxbuffer, size_t rxbuffer_size, const u
// break;
case 0xE4:
{
// g_tp_sleep_in = false; // 退出息屏状态
g_tp_sleep_in = false; // 退出息屏状态
g_ap_tp_init_done = true;
if (rxbuffer_size == 2)
{
@ -1037,6 +1037,14 @@ void app_tp_phone_analysis_data(uint8_t *rxbuffer, size_t rxbuffer_size, const u
SAMSUNG_s21u.Phone_Init_Done = true;
}
}
break;
case 0x9B:
{
if (rxbuffer_size == 2)
{
g_tp_sleep_in = true; // 进入息屏状态
}
}
break;
}