Skip to content

Commit 7d9ee2d

Browse files
authored
Merge pull request #14 from techie66/bugfix-#13
Fix typo that returned channel 1 advance for all channels
2 parents 6bafcee + 7c539b5 commit 7d9ee2d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/ignitech.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -521,21 +521,21 @@ int IGNITECH::get_advance1() {
521521
Simple Getter
522522
*/
523523
int IGNITECH::get_advance2() {
524-
return ignition.advance_1_deg;
524+
return ignition.advance_2_deg;
525525
}
526526

527527
/*
528528
Simple Getter
529529
*/
530530
int IGNITECH::get_advance3() {
531-
return ignition.advance_1_deg;
531+
return ignition.advance_3_deg;
532532
}
533533

534534
/*
535535
Simple Getter
536536
*/
537537
int IGNITECH::get_advance4() {
538-
return ignition.advance_1_deg;
538+
return ignition.advance_4_deg;
539539
}
540540

541541
/*

0 commit comments

Comments
 (0)