Skip to content

Commit

Permalink
Sensors/Waterlinked: Fix for compatibility with <C++17.
Browse files Browse the repository at this point in the history
  • Loading branch information
luis109 committed Apr 19, 2024
1 parent 7156389 commit df48305
Show file tree
Hide file tree
Showing 2 changed files with 348 additions and 342 deletions.
23 changes: 13 additions & 10 deletions src/Sensors/WaterLinkedDVL/Configuration.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -13,18 +13,21 @@
// DUNE headers.
#include <DUNE/DUNE.hpp>

namespace Sensors::WaterLinkedDVL
namespace Sensors
{
using DUNE_NAMESPACES;
//! Device configuration.
struct Configuration
namespace WaterLinkedDVL
{
double speed_of_sound;
bool acoustic_enabled;
bool dark_mode_enabled;
double mounting_rotation_offset;
std::string range_mode;
};
using DUNE_NAMESPACES;
//! Device configuration.
struct Configuration
{
double speed_of_sound;
bool acoustic_enabled;
bool dark_mode_enabled;
double mounting_rotation_offset;
std::string range_mode;
};
}
}

#endif
Loading

0 comments on commit df48305

Please sign in to comment.