Browse Source

Tools: removed separate recursive sempahore test

zr-v5.1
Andrew Tridgell 5 years ago
parent
commit
1284f1bd8a
  1. 3
      Tools/CPUInfo/CPUInfo.cpp

3
Tools/CPUInfo/CPUInfo.cpp

@ -28,8 +28,6 @@ static uint32_t sysclk = 0; @@ -28,8 +28,6 @@ static uint32_t sysclk = 0;
static EKF_Maths ekf;
HAL_Semaphore sem;
HAL_Semaphore_Recursive rsem;
void setup() {
ekf.init();
@ -162,7 +160,6 @@ static void show_timings(void) @@ -162,7 +160,6 @@ static void show_timings(void)
TIMEIT("delay(1)", hal.scheduler->delay(1), 5);
TIMEIT("SEM", { WITH_SEMAPHORE(sem); v_out_32 += v_32;}, 100);
TIMEIT("RSEM", { WITH_SEMAPHORE(rsem); v_out_32 += v_32;}, 100);
}
void loop()

Loading…
Cancel
Save