Fixed build on Windows

This commit is contained in:
enricoturri1966 2021-02-09 10:24:08 +01:00
parent c21e1b5ac4
commit 28d2c122db

View File

@ -648,7 +648,7 @@ void FirmwareDialog::priv::perform_upload()
}
}
})
.on_message([q](const char *msg, unsigned /* size */) {
.on_message([extra_verbose, q](const char* msg, unsigned /* size */) {
if (extra_verbose) {
BOOST_LOG_TRIVIAL(debug) << "avrdude: " << msg;
}