From 5b47f900a64c04d161b78d82305aee6301ff6edf Mon Sep 17 00:00:00 2001 From: AlexandreRouma Date: Sat, 25 Feb 2023 20:59:12 +0100 Subject: [PATCH] more android bullshit --- decoder_modules/radio/src/radio_module.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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) {