Date:2013-02-01 04:35:16 (6 years 4 months ago)
Author:Werner Almesberger
Commit:9cc032816ebbc15b9739de32ad66bddc081c3458
Message:ubb-la/gui.c (pos_step): step one sample at maximum zoom

This permits precise interval/frequency calculation with the user-defined
reference.
Files: ubb-la/gui.c (1 diff)

Change Details

ubb-la/gui.c
466466
467467static int pos_step(int zoom)
468468{
469    return 1 << (MAX_ZOOM-zoom+1);
469    return zoom == MAX_ZOOM ? 1 : 1 << (MAX_ZOOM-zoom+1);
470470}
471471
472472

Archive Download the corresponding diff file

Branches:
master



interactive