Changeset 13619 for trunk


Ignore:
Timestamp:
05/09/12 14:19:22 (13 years ago)
Author:
tbretz
Message:
The factor to determine the wind direction is 22.5 not 22
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/FACT++/gui/FactGui.h

    r13607 r13619  
    25292529        };
    25302530
    2531         const uint16_t i = uint16_t(floor(fmod(ptr[6]+11.25, 360)/22));
     2531        const uint16_t i = uint16_t(floor(fmod(ptr[6]+11.25, 360)/22.5));
    25322532        fMagicWindDir->setText(dir[i]);
    25332533    }
Note: See TracChangeset for help on using the changeset viewer.