opendroneid / receiver-android

Example Android receiver application for unmanned aircraft Remote ID
Apache License 2.0
186 stars 61 forks source link

Fix wrong order of operations #43

Closed gilovi closed 2 years ago

gilovi commented 2 years ago

Without the change, the value is casted to float first, which causes the minutes to be wrongly rounded up after the second half of the minute.

friissoren commented 2 years ago

Thanks for fixing.