Skip to content
This repository has been archived by the owner on Apr 19, 2023. It is now read-only.

Commit

Permalink
Fix display of logs with powerup times in excess of 35 minutes
Browse files Browse the repository at this point in the history
  • Loading branch information
thenickdude committed Aug 19, 2015
1 parent 7be47ff commit 3d1c4e2
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/blackbox_render.c
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@ void loadFrameIntoPoints(flightLog_t *log, bool frameValid, int32_t *frame, uint

if (frameType == 'P' || frameType == 'I') {
if (frameValid) {
datapointsAddFrame(points, frame[FLIGHT_LOG_FIELD_INDEX_TIME], frame);
datapointsAddFrame(points, (uint32_t) frame[FLIGHT_LOG_FIELD_INDEX_TIME], frame);
} else {
datapointsAddGap(points);
}
Expand Down
1 change: 1 addition & 0 deletions visual-studio/blackbox_decode/blackbox_decode.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@
<ClCompile Include="..\..\src\imu.c" />
<ClCompile Include="..\..\src\parser.c" />
<ClCompile Include="..\..\src\platform.c" />
<ClCompile Include="..\..\src\stats.c" />
<ClCompile Include="..\..\src\stream.c" />
<ClCompile Include="..\..\src\tools.c" />
<ClCompile Include="..\..\src\units.c" />
Expand Down
3 changes: 3 additions & 0 deletions visual-studio/blackbox_decode/blackbox_decode.vcxproj.filters
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,9 @@
<ClCompile Include="..\..\src\blackbox_fielddefs.c">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\src\stats.c">
<Filter>Source Files</Filter>
</ClCompile>
</ItemGroup>
<ItemGroup>
<ClInclude Include="..\src\parser.h">
Expand Down

0 comments on commit 3d1c4e2

Please sign in to comment.