Merge commit '7b16c7e29cf6abb79e19a0c399d5865a33b8f25e' into PCIE_PILOT_FIX
拉起PCIE分支的bug修复
This commit is contained in:
commit
27075700f4
@ -283,7 +283,7 @@ void Receiver_First_Sync_Proc(receiver_sync2first_sync_t* msg_ptr, uint32_t msg_
|
|||||||
WAIT_MPU_STOP;
|
WAIT_MPU_STOP;
|
||||||
TRACE(TRACE_RECEIVER_SYNC_FIRST_ADDR, 3, 5);
|
TRACE(TRACE_RECEIVER_SYNC_FIRST_ADDR, 3, 5);
|
||||||
//dm_check(1);
|
//dm_check(1);
|
||||||
maxPosition = receiver_sync_first_temp_dm3_ptr[0];
|
maxPosition = 0xffff & receiver_sync_first_temp_dm3_ptr[0];
|
||||||
maxsum = receiver_sync_first_temp_dm3_ptr[1];
|
maxsum = receiver_sync_first_temp_dm3_ptr[1];
|
||||||
LOG_ERROR_S("1 maxPosition:%d maxsum:%d\n",maxPosition, maxsum);
|
LOG_ERROR_S("1 maxPosition:%d maxsum:%d\n",maxPosition, maxsum);
|
||||||
|
|
||||||
@ -346,10 +346,10 @@ void Receiver_First_Sync_Proc(receiver_sync2first_sync_t* msg_ptr, uint32_t msg_
|
|||||||
WAIT_MPU_STOP;
|
WAIT_MPU_STOP;
|
||||||
|
|
||||||
TRACE(TRACE_RECEIVER_SYNC_FIRST_ADDR, 3, 7);
|
TRACE(TRACE_RECEIVER_SYNC_FIRST_ADDR, 3, 7);
|
||||||
LOG_ERROR_S("2 maxPosition:%d maxsum:%d\n",receiver_sync_first_temp_dm3_ptr[0], receiver_sync_first_temp_dm3_ptr[1]);
|
LOG_ERROR_S("2 maxPosition:%d maxsum:%d\n",0xffff & receiver_sync_first_temp_dm3_ptr[0], receiver_sync_first_temp_dm3_ptr[1]);
|
||||||
if(maxsum < receiver_sync_first_temp_dm3_ptr[1])
|
if(maxsum < receiver_sync_first_temp_dm3_ptr[1])
|
||||||
{
|
{
|
||||||
maxPosition = receiver_sync_first_temp_dm3_ptr[0];
|
maxPosition = 0xffff & receiver_sync_first_temp_dm3_ptr[0];
|
||||||
maxsum = receiver_sync_first_temp_dm3_ptr[1];
|
maxsum = receiver_sync_first_temp_dm3_ptr[1];
|
||||||
}
|
}
|
||||||
LOG_ERROR_S("3 maxPosition:%d maxsum:%d\n",maxPosition, maxsum);
|
LOG_ERROR_S("3 maxPosition:%d maxsum:%d\n",maxPosition, maxsum);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user