diff --git a/lib/tool/tools/mdprep/include/tools/mdprep/ui/form_data.hpp b/lib/tool/tools/mdprep/include/tools/mdprep/ui/form_data.hpp index 417bfb7e1..3b09a6936 100644 Binary files a/lib/tool/tools/mdprep/include/tools/mdprep/ui/form_data.hpp and b/lib/tool/tools/mdprep/include/tools/mdprep/ui/form_data.hpp differ diff --git a/lib/tool/tools/mdprep/src/ui/advanced_form.cpp b/lib/tool/tools/mdprep/src/ui/advanced_form.cpp index 6fecc267a..b3a4856bc 100644 Binary files a/lib/tool/tools/mdprep/src/ui/advanced_form.cpp and b/lib/tool/tools/mdprep/src/ui/advanced_form.cpp differ diff --git a/lib/tool/tools/mdprep/src/ui/form_data.cpp b/lib/tool/tools/mdprep/src/ui/form_data.cpp index 683ed843a..a6a778e5a 100644 --- a/lib/tool/tools/mdprep/src/ui/form_data.cpp +++ b/lib/tool/tools/mdprep/src/ui/form_data.cpp @@ -15,4 +15,16 @@ namespace VTX::Tool::Mdprep::ui } } + const double multiplierPicoSeconds( const E_MD_DURATION_UNIT & p_ ) noexcept + { + switch ( p_ ) + { + case E_MD_DURATION_UNIT::femtoSeconds: return 1e3; + case E_MD_DURATION_UNIT::picoSeconds: return 1e0; + case E_MD_DURATION_UNIT::nanoSeconds: return 1e3; + case E_MD_DURATION_UNIT::microSeconds: return 1e6; + default: return 1.0; + } + } + } // namespace VTX::Tool::Mdprep::ui