1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2024-12-01 09:24:10 +01:00

Changed logging messages to be more generic and consistent if Uploader gadget used on PipX.

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2435 ebee16cc-31ac-478f-84a7-5cbb03baadba
This commit is contained in:
edouard 2011-01-15 17:08:47 +00:00 committed by edouard
parent 290c9c538f
commit 1f7f9486c3

View File

@ -409,7 +409,7 @@ void UploaderGadgetWidget::systemRescue()
QTimer::singleShot(1000, this, SLOT(systemRescue()));
break;
case RESCUE_STEP3:
log("... Detecting Mainboard...");
log("... Detecting First Board...");
repaint();
dfu = new DFUObject(DFU_DEBUG, false, QString());
dfu->AbortOperation();
@ -425,7 +425,7 @@ void UploaderGadgetWidget::systemRescue()
if(!dfu->findDevices() || (dfu->numberOfDevices != 1))
{
rescueStep = RESCUE_STEP0;
log("Could not detect mainboard.");
log("Could not detect a board, aborting!");
delete dfu;
dfu = NULL;
cm->resumePolling();
@ -447,11 +447,11 @@ void UploaderGadgetWidget::systemRescue()
break;
case RESCUE_DETECT:
rescueStep = RESCUE_STEP0;
log("Detecting AHRS...");
log("Detecting second board...");
repaint();
if(!dfu->findDevices())
{
log("Could not detect devices.");
log("Could not detect any board, aborting!");
delete dfu;
dfu = NULL;
cm->resumePolling();