clang tidy fixes for modify_tilt_selection

This commit is contained in:
AdenKoperczak 2025-04-12 11:15:45 -04:00
parent be972cdb7e
commit 443f5a3615
No known key found for this signature in database
GPG key ID: 9843017036F62EE7

View file

@ -726,6 +726,8 @@ units::angle::degrees<double> ProductDescriptionBlock::elevation() const
if (p->elevationNumber_ > 0) if (p->elevationNumber_ > 0)
{ {
// Elevation is given in tenths of a degree
// NOLINTNEXTLINE(cppcoreguidelines-avoid-magic-numbers)
elevation = static_cast<int16_t>(p->parameters_[2]) * 0.1; elevation = static_cast<int16_t>(p->parameters_[2]) * 0.1;
} }