Skip to content

Commit

Permalink
modify loading cmd database
Browse files Browse the repository at this point in the history
  • Loading branch information
TomokiMochizuki committed Aug 8, 2024
1 parent 582fbed commit 4b4d76a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion aspnetapp/WINGS/Data/CommandDbRepository.cs
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ private async Task<List<Command>> LoadFileAsync(TlmCmdFileLocation location, Tlm
{
var cols = parser.ReadFields();
if (parser.LineNumber == 1) { ComponentName = cols[0]; continue; }
else if (parser.LineNumber < 5) { continue; }
else if (parser.LineNumber < 3) { continue; }
if (cols.All(x => x == "")) { break; }
if (cols[0] != "" && cols[0][0] == '*')
{
Expand Down

0 comments on commit 4b4d76a

Please sign in to comment.