Browse Source

Tools/CPUInfo: type conversion

master
Eugene Shamaev 7 years ago committed by Randy Mackay
parent
commit
797fc84e92
  1. 2
      Tools/CPUInfo/CPUInfo.cpp

2
Tools/CPUInfo/CPUInfo.cpp

@ -42,7 +42,7 @@ static void show_sizes(void) @@ -42,7 +42,7 @@ static void show_sizes(void)
FIFTYTIMES(op); \
} \
us_end = AP_HAL::micros(); \
hal.console->printf("%-10s %7.2f usec/call\n", name, double(us_end - us_start) / (count * 50.0)); \
hal.console->printf("%-10s %7.2f usec/call\n", name, double(us_end - us_start) / double(count * 50.0)); \
} while (0)
volatile float v_f = 1.0;

Loading…
Cancel
Save