File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -196,7 +196,7 @@ TEST_F(SchedulerTests, MultipleTasks) {
196196
197197 Scheduler::start ();
198198 TIM2_BASE->PSC = 2 ; // quicker test
199- constexpr int NUM_TICKS = 30 ;
199+ constexpr int NUM_TICKS = 300 ;
200200 for (int i = 0 ; i < NUM_TICKS; i++) {
201201 for (int j = 0 ; j <= TIM2_BASE->PSC ; j++) TIM2_BASE->inc_cnt_and_check (1 );
202202 Scheduler::update ();
@@ -207,7 +207,6 @@ TEST_F(SchedulerTests, MultipleTasks) {
207207#undef X
208208}
209209
210-
211210TEST_F (SchedulerTests, SameTaskMultipleTimes) {
212211#define X (n ) uint8_t taskid_##n = Scheduler::register_task(n, &multiple_task_1); \
213212 (void )taskid_##n;
@@ -216,7 +215,7 @@ TEST_F(SchedulerTests, SameTaskMultipleTimes) {
216215
217216 Scheduler::start ();
218217 TIM2_BASE->PSC = 2 ; // quicker test
219- constexpr int NUM_TICKS = 30 ;
218+ constexpr int NUM_TICKS = 300 ;
220219 for (int i = 0 ; i < NUM_TICKS; i++) {
221220 for (int j = 0 ; j <= TIM2_BASE->PSC ; j++) TIM2_BASE->inc_cnt_and_check (1 );
222221 Scheduler::update ();
You can’t perform that action at this time.
0 commit comments