fhorinek / SkyDrop

SkyDrop combined variometer
http://skybean.eu/
GNU General Public License v2.0
87 stars 42 forks source link

Invalid numbers in airspace code comments #444

Closed jcoffland closed 2 years ago

jcoffland commented 3 years ago

0x7f == 127 not 126 as the code comments imply.

https://github.com/fhorinek/SkyDrop/blob/206a54fda58a2a7d34b282a1dbe18725cbc9f9e2/skydrop/src/fc/airspace.cpp#L10-L11

The comment should read:

//#   -III IIII - 0 - 126 index
//#             - 127 no airspace (127, 0x7F)
bubeck commented 3 years ago

thanks! I will create a PR with your change. (If you like to, you can do this on yourself).

jcoffland commented 3 years ago

Go ahead and make the PR.