Skip to content

Commit af04e3d

Browse files
committed
fix off by one error and rebuild
1 parent 27850ac commit af04e3d

File tree

3 files changed

+9
-3
lines changed

3 files changed

+9
-3
lines changed

.gitignore

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
Release/
2+
Debug/
3+
*.opensdf
4+
*.sdf
5+
*.vcxproj.user
6+

Form1.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2439,7 +2439,7 @@ void Form1::parse_hbr(unsigned char data, int bytect){
24392439
// 10A7
24402440
// ...
24412441
// 10A148
2442-
display( data, 10, TLM_A, 1+(framect*3) );
2442+
display( data, 10, TLM_A, (framect*3)-2 );
24432443
break;
24442444

24452445
case 59:
@@ -2569,7 +2569,7 @@ void Form1::parse_hbr(unsigned char data, int bytect){
25692569
// 10A8
25702570
// ...
25712571
// 10A149
2572-
display( data, 10, TLM_A, 2+(framect*3) );
2572+
display( data, 10, TLM_A, (framect*3)-1 );
25732573
break;
25742574

25752575
case 88:
@@ -2676,7 +2676,7 @@ void Form1::parse_hbr(unsigned char data, int bytect){
26762676
// 10A9
26772677
// ...
26782678
// 10A150
2679-
display( data, 10, TLM_A, 3+(framect*3) );
2679+
display( data, 10, TLM_A, (framect*3) );
26802680
break;
26812681

26822682
case 120:

GroundStation.exe

0 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)