Fix of Crash when trying to set up non-existent flashair (#3899)

fixed a typo in formatting text, throwing an exception.
This commit is contained in:
bubnikv 2020-03-24 10:04:21 +01:00
parent 4c1d867ba0
commit ad5ae50933

View file

@ -70,7 +70,7 @@ wxString FlashAir::get_test_ok_msg () const
wxString FlashAir::get_test_failed_msg (wxString &msg) const
{
return GUI::from_u8((boost::format("%s: %s")
return GUI::from_u8((boost::format("%s: %s\n%s")
% _utf8(L("Could not connect to FlashAir"))
% std::string(msg.ToUTF8())
% _utf8(L("Note: FlashAir with firmware 2.00.02 or newer and activated upload function is required."))).str());