mirror of https://github.com/rusefi/openblt.git
Refs #319. Improved MicroBoot's progress bar behavior when finishing the firmware update.
git-svn-id: https://svn.code.sf.net/p/openblt/code/trunk@478 5dc33758-31d5-4daf-9ae8-b24bf3d40d73
This commit is contained in:
parent
b7cc72f9f4
commit
9a3b6c91e1
Binary file not shown.
|
@ -1,7 +1,7 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<CONFIG>
|
||||
<ProjectSession>
|
||||
<Version Value="9"/>
|
||||
<Version Value="10"/>
|
||||
<BuildModes Active="Release"/>
|
||||
<Units Count="32">
|
||||
<Unit0>
|
||||
|
@ -149,9 +149,10 @@
|
|||
<Filename Value="firmwareupdate.pas"/>
|
||||
<IsPartOfProject Value="True"/>
|
||||
<UnitName Value="FirmwareUpdate"/>
|
||||
<IsVisibleTab Value="True"/>
|
||||
<EditorIndex Value="1"/>
|
||||
<TopLine Value="1032"/>
|
||||
<CursorPos X="58" Y="1044"/>
|
||||
<TopLine Value="690"/>
|
||||
<CursorPos X="14" Y="725"/>
|
||||
<UsageCount Value="49"/>
|
||||
<Bookmarks Count="1">
|
||||
<Item0 X="23" Y="995" ID="1"/>
|
||||
|
@ -171,7 +172,6 @@
|
|||
<Filename Value="filelogger.pas"/>
|
||||
<IsPartOfProject Value="True"/>
|
||||
<UnitName Value="FileLogger"/>
|
||||
<IsVisibleTab Value="True"/>
|
||||
<EditorIndex Value="2"/>
|
||||
<TopLine Value="134"/>
|
||||
<CursorPos X="19" Y="140"/>
|
||||
|
@ -294,122 +294,126 @@
|
|||
<OtherDefines Count="1">
|
||||
<Define0 Value="UseCThreads"/>
|
||||
</OtherDefines>
|
||||
<JumpHistory Count="29" HistoryIndex="28">
|
||||
<JumpHistory Count="30" HistoryIndex="29">
|
||||
<Position1>
|
||||
<Filename Value="firmwareupdate.pas"/>
|
||||
<Caret Line="365" Column="39" TopLine="344"/>
|
||||
<Caret Line="468" Column="23" TopLine="427"/>
|
||||
</Position1>
|
||||
<Position2>
|
||||
<Filename Value="firmwareupdate.pas"/>
|
||||
<Caret Line="385" Column="39" TopLine="344"/>
|
||||
<Caret Line="469" Column="41" TopLine="428"/>
|
||||
</Position2>
|
||||
<Position3>
|
||||
<Filename Value="firmwareupdate.pas"/>
|
||||
<Caret Line="395" Column="41" TopLine="354"/>
|
||||
<Caret Line="487" Column="39" TopLine="446"/>
|
||||
</Position3>
|
||||
<Position4>
|
||||
<Filename Value="firmwareupdate.pas"/>
|
||||
<Caret Line="423" Column="45" TopLine="382"/>
|
||||
<Caret Line="497" Column="23" TopLine="456"/>
|
||||
</Position4>
|
||||
<Position5>
|
||||
<Filename Value="firmwareupdate.pas"/>
|
||||
<Caret Line="453" Column="45" TopLine="412"/>
|
||||
<Caret Line="498" Column="41" TopLine="457"/>
|
||||
</Position5>
|
||||
<Position6>
|
||||
<Filename Value="firmwareupdate.pas"/>
|
||||
<Caret Line="468" Column="23" TopLine="427"/>
|
||||
<Caret Line="509" Column="45" TopLine="468"/>
|
||||
</Position6>
|
||||
<Position7>
|
||||
<Filename Value="firmwareupdate.pas"/>
|
||||
<Caret Line="469" Column="41" TopLine="428"/>
|
||||
<Caret Line="559" Column="45" TopLine="518"/>
|
||||
</Position7>
|
||||
<Position8>
|
||||
<Filename Value="firmwareupdate.pas"/>
|
||||
<Caret Line="487" Column="39" TopLine="446"/>
|
||||
<Caret Line="578" Column="43" TopLine="537"/>
|
||||
</Position8>
|
||||
<Position9>
|
||||
<Filename Value="firmwareupdate.pas"/>
|
||||
<Caret Line="497" Column="23" TopLine="456"/>
|
||||
<Caret Line="588" Column="45" TopLine="547"/>
|
||||
</Position9>
|
||||
<Position10>
|
||||
<Filename Value="firmwareupdate.pas"/>
|
||||
<Caret Line="498" Column="41" TopLine="457"/>
|
||||
<Caret Line="648" Column="45" TopLine="607"/>
|
||||
</Position10>
|
||||
<Position11>
|
||||
<Filename Value="firmwareupdate.pas"/>
|
||||
<Caret Line="509" Column="45" TopLine="468"/>
|
||||
<Caret Line="667" Column="43" TopLine="626"/>
|
||||
</Position11>
|
||||
<Position12>
|
||||
<Filename Value="firmwareupdate.pas"/>
|
||||
<Caret Line="559" Column="45" TopLine="518"/>
|
||||
<Caret Line="677" Column="45" TopLine="636"/>
|
||||
</Position12>
|
||||
<Position13>
|
||||
<Filename Value="firmwareupdate.pas"/>
|
||||
<Caret Line="578" Column="43" TopLine="537"/>
|
||||
<Caret Line="716" Column="39" TopLine="675"/>
|
||||
</Position13>
|
||||
<Position14>
|
||||
<Filename Value="firmwareupdate.pas"/>
|
||||
<Caret Line="588" Column="45" TopLine="547"/>
|
||||
<Caret Line="724" Column="39" TopLine="683"/>
|
||||
</Position14>
|
||||
<Position15>
|
||||
<Filename Value="firmwareupdate.pas"/>
|
||||
<Caret Line="648" Column="45" TopLine="607"/>
|
||||
<Caret Line="744" Column="37" TopLine="703"/>
|
||||
</Position15>
|
||||
<Position16>
|
||||
<Filename Value="firmwareupdate.pas"/>
|
||||
<Caret Line="667" Column="43" TopLine="626"/>
|
||||
<Caret Line="1129" Column="39" TopLine="1087"/>
|
||||
</Position16>
|
||||
<Position17>
|
||||
<Filename Value="firmwareupdate.pas"/>
|
||||
<Caret Line="677" Column="45" TopLine="636"/>
|
||||
<Caret Line="1138" Column="52" TopLine="1096"/>
|
||||
</Position17>
|
||||
<Position18>
|
||||
<Filename Value="firmwareupdate.pas"/>
|
||||
<Caret Line="716" Column="39" TopLine="675"/>
|
||||
<Caret Line="1126" Column="64" TopLine="1104"/>
|
||||
</Position18>
|
||||
<Position19>
|
||||
<Filename Value="firmwareupdate.pas"/>
|
||||
<Caret Line="724" Column="39" TopLine="683"/>
|
||||
</Position19>
|
||||
<Position20>
|
||||
<Filename Value="firmwareupdate.pas"/>
|
||||
<Caret Line="744" Column="37" TopLine="703"/>
|
||||
<Caret Line="98" Column="43" TopLine="93"/>
|
||||
</Position20>
|
||||
<Position21>
|
||||
<Filename Value="firmwareupdate.pas"/>
|
||||
<Caret Line="1129" Column="39" TopLine="1087"/>
|
||||
<Caret Line="745" TopLine="719"/>
|
||||
</Position21>
|
||||
<Position22>
|
||||
<Filename Value="firmwareupdate.pas"/>
|
||||
<Caret Line="1138" Column="52" TopLine="1096"/>
|
||||
<Caret Line="98" Column="72" TopLine="68"/>
|
||||
</Position22>
|
||||
<Position23>
|
||||
<Filename Value="firmwareupdate.pas"/>
|
||||
<Caret Line="1126" Column="64" TopLine="1104"/>
|
||||
<Caret Line="947" TopLine="938"/>
|
||||
</Position23>
|
||||
<Position24>
|
||||
<Filename Value="firmwareupdate.pas"/>
|
||||
<Caret Line="1053" Column="19" TopLine="1018"/>
|
||||
</Position24>
|
||||
<Position25>
|
||||
<Filename Value="firmwareupdate.pas"/>
|
||||
<Caret Line="98" Column="43" TopLine="93"/>
|
||||
<Caret Line="1038" Column="17" TopLine="1032"/>
|
||||
</Position25>
|
||||
<Position26>
|
||||
<Filename Value="firmwareupdate.pas"/>
|
||||
<Caret Line="745" TopLine="719"/>
|
||||
<Caret Line="600" Column="63" TopLine="579"/>
|
||||
</Position26>
|
||||
<Position27>
|
||||
<Filename Value="firmwareupdate.pas"/>
|
||||
<Caret Line="98" Column="72" TopLine="68"/>
|
||||
<Caret Line="68" TopLine="42"/>
|
||||
</Position27>
|
||||
<Position28>
|
||||
<Filename Value="firmwareupdate.pas"/>
|
||||
<Caret Line="947" TopLine="938"/>
|
||||
<Caret Line="106" Column="41" TopLine="70"/>
|
||||
</Position28>
|
||||
<Position29>
|
||||
<Filename Value="firmwareupdate.pas"/>
|
||||
<Caret Line="1053" Column="19" TopLine="1018"/>
|
||||
<Caret Line="604" Column="50" TopLine="569"/>
|
||||
</Position29>
|
||||
<Position30>
|
||||
<Filename Value="firmwareupdate.pas"/>
|
||||
<Caret Line="694" Column="50" TopLine="659"/>
|
||||
</Position30>
|
||||
</JumpHistory>
|
||||
</ProjectSession>
|
||||
</CONFIG>
|
||||
|
|
Binary file not shown.
|
@ -720,9 +720,6 @@ begin
|
|||
// Update the log.
|
||||
FLogString := FInfoString;
|
||||
Synchronize(@SynchronizeLogEvent);
|
||||
// Set the progress to 100%
|
||||
FPercentage := 100;
|
||||
Synchronize(@SynchronizeProgressEvent);
|
||||
// Trigger the OnDone event
|
||||
Synchronize(@SynchronizeDoneEvent);
|
||||
// Transition back to the idle state.
|
||||
|
|
Loading…
Reference in New Issue