apps: examples: calib_udelay: nxstyle fixes

fixes for errors reported by nxstyle

Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
This commit is contained in:
Alin Jerpelea 2022-03-07 13:44:25 +00:00 committed by Xiang Xiao
parent 59a62a91ab
commit 7f0c835edf

View File

@ -260,11 +260,11 @@ int main(int argc, FAR char *argv[])
loop_count += min_step * calibration_step_multiplier)
{
duration += (double)num_measurements * loop_count *
timer_resolution * min_timer_resolution_steps / min_step;
timer_resolution * min_timer_resolution_steps / min_step;
}
printf("Performing main calibration for udelay. This will take approx. %.3f seconds.\n",
duration * 1e-9);
printf("Performing main calibration for udelay."
"This will take approx. %.3f seconds.\n", duration * 1e-9);
usleep(200 * 1000);
for (loop_count = min_step, i = 0; i < num_results; i++,