diff --git a/Include/Test/Chip/rmp_test_ch32v307vc_rvm.h b/Include/Test/Chip/rmp_test_ch32v307vc_rvm.h index abcdc88e..99f08796 100644 --- a/Include/Test/Chip/rmp_test_ch32v307vc_rvm.h +++ b/Include/Test/Chip/rmp_test_ch32v307vc_rvm.h @@ -49,7 +49,6 @@ ISR Semaphore : 1328 / 1349 / 1328 ISR Message queue : 1437 / 1451 / 1437 ISR Blocking message queue : 1545 / 1553 / 1545 - GCC 12.2.0 -O3 (FPU enabled, fastpath turned on) ___ __ ___ ___ / _ \ / |/ // _ \ Simple real-time kernel diff --git a/Source/Test/rmp_benchmark.c b/Source/Test/rmp_benchmark.c index 60a5e320..97361f64 100644 --- a/Source/Test/rmp_benchmark.c +++ b/Source/Test/rmp_benchmark.c @@ -368,14 +368,14 @@ void Test_Bmq_2(void) } } -void Test_Alrm_Hook(volatile struct RMP_Amgr* Amgr, - volatile struct RMP_Alrm* Alrm, +void Test_Alrm_Hook(volatile struct RMP_Amgr* This_Amgr, + volatile struct RMP_Alrm* This_Alrm, rmp_cnt_t Overdue) { - RMP_USE(Amgr); + RMP_USE(This_Amgr); RMP_ASSERT(Overdue==0); - switch(Alrm->Delay) + switch(This_Alrm->Delay) { case 1U:Alrm_1_Cnt++;break; case 2U:Alrm_2_Cnt++;break;