diff --git a/decoder_modules/radio/src/radio_module.h b/decoder_modules/radio/src/radio_module.h index 8c087902..c0605fd5 100644 --- a/decoder_modules/radio/src/radio_module.h +++ b/decoder_modules/radio/src/radio_module.h @@ -12,6 +12,7 @@ #include #include #include +#include #include #include "radio_interface.h" #include "demod.h" @@ -332,7 +333,7 @@ private: config.conf[name]["selectedDemodId"] = id; config.release(true); auto endTime = std::chrono::high_resolution_clock::now(); - flog::warn("Demod switch took {0} us", (std::chrono::duration_cast(endTime - startTime)).count()); + flog::warn("Demod switch took {0} us", (int64_t)((std::chrono::duration_cast(endTime - startTime)).count())); } void selectDemod(demod::Demodulator* demod) {